]> git.eshelyaron.com Git - emacs.git/commit
Fix reporting of wheel events on top of GTK scroll bars
authorPo Lu <luangruo@yahoo.com>
Tue, 1 Mar 2022 10:38:08 +0000 (18:38 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 1 Mar 2022 10:38:08 +0000 (18:38 +0800)
commitad0fb40ae6921a265c6d21ed542cf6144eee0c51
tree53ac7e985e18ef51128e690f7cf9be1fc93c5333
parent3447f365b13e0814916e44192063734eae7d3e19
Fix reporting of wheel events on top of GTK scroll bars

* src/gtkutil.c (xg_update_scrollbar_pos):
(xg_update_horizontal_scrollbar_pos): Stop ensuring the window
is native.
(xg_event_is_for_scrollbar): New variable `for_valuator'.
All callers changed.
* src/gtkutil.h: Update prototypes.
* src/xterm.c (handle_one_xevent): Drop all valuator change
events destined for scroll bars.
src/gtkutil.c
src/gtkutil.h
src/pgtkterm.c
src/xterm.c