]> git.eshelyaron.com Git - emacs.git/commit
Workaround touchscreen events are ignored on sway
authorYuuki Harano <masm+github@masm11.me>
Tue, 13 Apr 2021 12:23:48 +0000 (21:23 +0900)
committerYuuki Harano <masm+github@masm11.me>
Tue, 13 Apr 2021 12:23:48 +0000 (21:23 +0900)
commitfb5f3e694b0f6e2bccfc2124555c986fdc409cd0
tree558b79b49ef02ded031605e2504590268a3957fe
parent8c7453632e8f45ed65ce814eafc0a1af637774c1
Workaround touchscreen events are ignored on sway

On sway, gdk_device_get_window_at_position() in
xg_event_is_for_scrollbar always returns NULL, and all the touchscreen
press events are mishandled as on scrollbar.
We don't need to call xg_event_is_for_scrollbar, so removed the call.

* src/pgtkterm.c (button_event): Don't call xg_event_is_for_scrollbar.
src/pgtkterm.c