diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2009-11-06 08:30:43 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2009-11-06 08:30:43 +0000 |
commit | e511451fd3efe787c5be5873376b305140e098ad (patch) | |
tree | 1847f55050c7ad0eab95dff5f3711ccee2e261fb /src/gtkutil.h | |
parent | 0b7f397ca754d0fca96b9778329ec5206f445205 (diff) | |
download | emacs-e511451fd3efe787c5be5873376b305140e098ad.tar.gz |
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).
Diffstat (limited to 'src/gtkutil.h')
-rw-r--r-- | src/gtkutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkutil.h b/src/gtkutil.h index faf5395fdbe..6d9f6da2699 100644 --- a/src/gtkutil.h +++ b/src/gtkutil.h @@ -179,7 +179,7 @@ extern void xg_set_toolkit_scroll_bar_thumb P_ ((struct scroll_bar *bar, 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)); |