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
2015-11-09 10:25:40 -05:00
2015-07-06 00:52:18 -07:00
2015-11-10 01:18:27 +01:00
2014-03-18 20:37:35 -04:00
2015-12-14 15:17:40 -08:00
2015-12-17 01:21:40 +01:00
2015-07-06 00:52:18 -07:00
2014-07-31 17:50:28 +02:00
2015-12-17 01:21:40 +01:00
Description
94 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%