Hi,
Below is a small patch against main trunk code to let to be able to
compile --without-scrollbars Please let me know if I should post to
xemacs-patch or here xemacs-beta. Thanks.
Regards,
zw
--- event-stream.c.~1~ Sat Apr 21 02:30:24 2001
+++ event-stream.c Sat Apr 21 09:36:10 2001
@@ -3763,6 +3763,7 @@
static int
is_scrollbar_event (Lisp_Object event)
{
+#ifdef HAVE_SCROLLBARS
Lisp_Object fun;
if (XEVENT (event)->event_type != misc_user_event)
@@ -3783,6 +3784,9 @@
EQ (fun, Qscrollbar_to_left) ||
EQ (fun, Qscrollbar_to_right) ||
EQ (fun, Qscrollbar_horizontal_drag));
+#else
+ return 0;
+#endif /* HAVE_SCROLLBARS */
}
static void