Mercurial > hg > xemacs-beta
diff src/event-stream.c @ 516:8a4db099aa97
[xemacs-hg @ 2001-05-07 14:55:13 by yoshiki]
zhaoway's patch "compile --without-scrollbars",
<871yqlimt4.fsf@debian.org>
author | yoshiki |
---|---|
date | Mon, 07 May 2001 14:55:14 +0000 |
parents | 7039e6323819 |
children | c69610198c35 |
line wrap: on
line diff
--- a/src/event-stream.c Mon May 07 14:17:28 2001 +0000 +++ b/src/event-stream.c Mon May 07 14:55:14 2001 +0000 @@ -3762,6 +3762,7 @@ static int is_scrollbar_event (Lisp_Object event) { +#ifdef HAVE_SCROLLBARS Lisp_Object fun; if (XEVENT (event)->event_type != misc_user_event) @@ -3782,6 +3783,9 @@ EQ (fun, Qscrollbar_to_left) || EQ (fun, Qscrollbar_to_right) || EQ (fun, Qscrollbar_horizontal_drag)); +#else + return 0; +#endif /* HAVE_SCROLLBARS */ } static void