mutter/src
Jonas Dreßler 8d9a5e3c7e wayland/touch: Remove undelivered touches earlier
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
2019-02-28 09:52:23 +00:00
..
backends Use a consistent style for enum braces 2019-02-28 09:31:01 +01:00
compositor Use a consistent style for enum braces 2019-02-28 09:31:01 +01:00
core Use a consistent style for enum braces 2019-02-28 09:31:01 +01:00
meta Use a consistent style for enum braces 2019-02-28 09:31:01 +01:00
tests monitor-unit-tests: initial crtcs in custom_lid_switch 2019-02-21 17:22:12 +02:00
ui Use a consistent style for enum braces 2019-02-28 09:31:01 +01:00
wayland wayland/touch: Remove undelivered touches earlier 2019-02-28 09:52:23 +00:00
x11 Use a consistent style for enum braces 2019-02-28 09:31:01 +01:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build wayland/surface: Add support for wp_viewporter 2019-02-06 12:24:03 +00:00
meta-marshal.list renderer-native: Add hardware presentation timing 2018-11-23 11:01:30 +00:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml fixed typo 2018-07-24 13:16:36 +00:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml remote-desktop, screen-cast: Add version number to D-Bus APIs 2018-02-23 19:33:31 +08:00
org.gnome.Mutter.ScreenCast.xml org.gnome.Mutter.ScreenCast: Document what was added in API version 2 2019-02-26 13:39:11 +00:00