diff src/gtkutil.h @ 105880:5910e0380daf

Fix bug #4870, issues 3 and 4. * gtkutil.c (xg_event_is_for_scrollbar): New function (bug#4870). * gtkutil.h: Declare xg_event_is_for_scrollbar (bug#4870). * xterm.c (handle_one_xevent): Call xg_event_is_for_scrollbar for ButtonPressRelease and MotionNotify (bug#4870).
author Jan Djärv <jan.h.d@swipnet.se>
date Fri, 06 Nov 2009 08:30:43 +0000
parents e038c1a8307c
children bac7488df503
line wrap: on
line diff
--- a/src/gtkutil.h	Fri Nov 06 07:50:54 2009 +0000
+++ b/src/gtkutil.h	Fri Nov 06 08:30:43 2009 +0000
@@ -179,7 +179,7 @@
                                                  int portion,
                                                  int position,
                                                  int whole));
-
+extern int xg_event_is_for_scrollbar P_ ((FRAME_PTR f, XEvent *event));
 
 extern void update_frame_tool_bar P_ ((FRAME_PTR f));
 extern void free_frame_tool_bar P_ ((FRAME_PTR f));