mutter/src/backends/x11
Ray Strode 42b3a34f7b idle-monitor-xsync: fix crash if watch callback removes different watch
Right now the XSync based idle monitoring code, will fetch all active
watches into a list, and then call their watch callbacks one by one
as necessary.  If one watch callback invalidates another watch, the
list will contain free'd memory.

This commit makes sure to consult the hash table after ever call
of a watch callback, to ensure mutter never looks at freed memory.

Fixes crash reported on IRC by Laine Stump with his synergy setup.

https://bugzilla.gnome.org/show_bug.cgi?id=760330
2016-01-11 11:23:39 -05:00
..
nested Don't duplicate declarations from G_DEFINE_TYPE 2015-09-24 03:01:51 +02:00
meta-backend-x11.c backend-x11: Ensure the Xkb group index remains properly set 2015-10-23 14:13:26 +02:00
meta-backend-x11.h x11: Add simple cursor renderer 2014-05-17 13:27:16 -04:00
meta-barrier-x11.c barriers: Separate implementation from public API 2015-01-17 17:22:57 -08:00
meta-barrier-x11.h barrier: Fix type cast macros 2015-01-18 13:32:28 -08:00
meta-cursor-renderer-x11.c Support scaling of cursor sprites given what output they are on 2015-09-13 21:26:22 +08:00
meta-cursor-renderer-x11.h x11: Add simple cursor renderer 2014-05-17 13:27:16 -04:00
meta-idle-monitor-xsync.c idle-monitor-xsync: fix crash if watch callback removes different watch 2016-01-11 11:23:39 -05:00
meta-idle-monitor-xsync.h backends: Start on an initial MetaBackend object 2014-04-21 20:25:21 -04:00
meta-input-settings-x11.c backends: Force 2-finger scroll by default if available 2015-12-15 14:38:23 +01:00
meta-input-settings-x11.h backends/x11: Implement X11-specific MetaInputSettings 2015-01-18 13:32:28 -08:00
meta-monitor-manager-xrandr.c monitor-manager-xrandr: Don't query legacy properties 2016-01-09 18:06:18 -08:00
meta-monitor-manager-xrandr.h monitor-manager: Expose MetaMonitorManager to introspection 2015-01-30 13:13:49 -05:00