Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
634f48a1cf
Logical monitors keep pointers around to monitor objects, which themself keep pointers aronud to outputs, which keeps pointer to modes and CRTCs. To avoid causing crashes when using the logical monitor API (which might use monitor APIs etc) between a hot plug and the time the logical monitors are regenerated (which is done synchronously in the native backend but asynchronously in the X11 backend), postpone the freeing of the state that logical monitor references, until the logical monitor state is regenerated. On the native backend, this should have no significant effect, as the logical state is always regenerated immediately after the hardware state is updated, but on X11, this should fix race conditions when events being processed between the hot plug and the hot plug result tries to access the yet to be up to date state. https://bugzilla.gnome.org/show_bug.cgi?id=786929 |
||
---|---|---|
clutter | ||
cogl | ||
data | ||
doc | ||
po | ||
src | ||
tools | ||
.gitignore | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
mutter.doap | ||
NEWS |