1
0
Fork 0
mutter-performance-source/src
Jonas Ådahl 0e69fe0781 idle-monitor: Reset timeout before firing watch
The watch might be removed during firing, meaning the source is
destroyed after returning. Avoid use-after-free by unsetting the timeout
before firing. Returning G_SOURCE_CONTINUE in that case is harmless, as
source is destroyed.

Fixes: https://gitlab.gnome.org/GNOME/mutter/issues/796

https://gitlab.gnome.org/GNOME/mutter/merge_requests/799
2019-09-16 18:08:18 +00:00
..
backends idle-monitor: Reset timeout before firing watch 2019-09-16 18:08:18 +00:00
compositor plugins/default: Get default keymap from localed 2019-09-10 20:09:40 +00:00
core x11: Minor refactor of input focus handling code 2019-09-13 20:55:57 +00:00
meta main: Add test initialization function 2019-08-27 16:34:01 +00:00
tests clutter: Introduce geometric picking 2019-09-02 16:41:13 +00:00
ui cleanup: Don't use g_memmove() 2019-07-18 11:01:09 +02:00
wayland Fix a few tracing typos 2019-09-12 14:30:44 -03:00
x11 x11: Minor refactor of input focus handling code 2019-09-13 20:55:57 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build clutter: Move evdev input to src/backends/native 2019-08-24 08:59:08 +00:00
meta-marshal.list cursor-tracker: Use our own marshal for cursor-moved 2019-07-31 09:34:17 +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 Fix typo in RemoteDesktop dbus api 2019-05-22 16:21:57 +02: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