aboutsummaryrefslogtreecommitdiff
path: root/client-protocol.h
diff options
context:
space:
mode:
authorMarinus Klasen <marinus@mklasen.nl>2026-08-19 21:05:34 +0000
committerDaniel Eklöf <daniel@ekloef.se>2026-08-29 07:55:45 +0000
commitf8a367896a57d84967d7b537ee618aae8081e2ea (patch)
tree2137909a2e6b2b5f3a943f36f5b023e75eb15a4d /client-protocol.h
parentwayland: handle_global_remove(): call wl_fixes::ack_global_remove(), when available (diff)
wayland: clear touch focus in wayl_win_destroy()
wl_touch has no leave event, so unmapping the surfaces cannot drop touch focus the way it drops keyboard and pointer focus. seat->touch.surface kept pointing at the window being destroyed, and seat->touch.state stayed HELD/DRAGGING, so the guard in wl_touch_up() and wl_touch_motion() did not fire. A wl_touch.up dispatched from the roundtrips in wayl_win_destroy() then dereferenced the freed window: #0 wl_touch_up () at input.c:3587 #12 wayl_roundtrip () at wayland.c:2416 #13 wayl_win_destroy () at wayland.c:2297 Reproduced by touching a foot window and holding while the window is destroyed: 3/3 crashes before, 0/7 after.
Diffstat (limited to 'client-protocol.h')
0 files changed, 0 insertions, 0 deletions