mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
8d9a5e3c7e
When the touch_down event was not delivered to Wayland clients, there's no point in keeping the touchpoint in our list, so remove it early inside update() instead of removing it after the touch ended. This fixes a crash inside touch_handle_surface_destroy() where the assertion to make sure the surface is removed fails because the touch_count of the surface never reached 0. This in turn happened because a new sequence was added, while a (already ended one) wasn't removed from the touch->touches list before. This caused the touch counter to get incremented by 1 while no new sequence was added to the list (because Clutter reuses sequence IDs, the old sequence is equal to the new one, i.e. the new sequence already is present in the list). Fixes https://gitlab.gnome.org/GNOME/mutter/issues/200 https://gitlab.gnome.org/GNOME/mutter/merge_requests/426 |
||
---|---|---|
.. | ||
backends | ||
compositor | ||
core | ||
meta | ||
tests | ||
ui | ||
wayland | ||
x11 | ||
libmutter.pc.in | ||
meson.build | ||
meta-marshal.list | ||
org.freedesktop.login1.xml | ||
org.gnome.Mutter.DisplayConfig.xml | ||
org.gnome.Mutter.IdleMonitor.xml | ||
org.gnome.Mutter.RemoteDesktop.xml | ||
org.gnome.Mutter.ScreenCast.xml |