diff options
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 1ba367c9989..545f3a5254d 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -6688,6 +6688,10 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) | |||
| 6688 | clear_mouse_face (dpyinfo); | 6688 | clear_mouse_face (dpyinfo); |
| 6689 | } | 6689 | } |
| 6690 | 6690 | ||
| 6691 | #ifdef USE_GTK | ||
| 6692 | if (f && xg_event_is_for_scrollbar (f, &event)) | ||
| 6693 | f = 0; | ||
| 6694 | #endif | ||
| 6691 | if (f) | 6695 | if (f) |
| 6692 | { | 6696 | { |
| 6693 | 6697 | ||
| @@ -6824,6 +6828,10 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) | |||
| 6824 | else | 6828 | else |
| 6825 | f = x_window_to_frame (dpyinfo, event.xbutton.window); | 6829 | f = x_window_to_frame (dpyinfo, event.xbutton.window); |
| 6826 | 6830 | ||
| 6831 | #ifdef USE_GTK | ||
| 6832 | if (f && xg_event_is_for_scrollbar (f, &event)) | ||
| 6833 | f = 0; | ||
| 6834 | #endif | ||
| 6827 | if (f) | 6835 | if (f) |
| 6828 | { | 6836 | { |
| 6829 | /* Is this in the tool-bar? */ | 6837 | /* Is this in the tool-bar? */ |