mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
10c1903c72
Remove some obvious server grabs from the window creation codepath, also ones that are taken at startup. During startup, there is no need to grab: we install the event handlers before querying for the already-existing windows, so there is no danger that we will 'lose' some window. We might try to create a window twice (if it comes back in the original query and then we get an event for it) but the code is already protected against such conditions. When windows are created later, we also do not need grabs, we just need appropriate error checking as the window may be destroyed at any time (or it may have already been destroyed). The stack tracker is unaffected here - as it listens to CreateNotify and DestroyNotify events and responds directly, the internal stack representation will always be consistent even if the window goes away while we are processing MapRequest or similar. https://bugzilla.gnome.org/show_bug.cgi?id=721345 |
||
---|---|---|
.. | ||
compositor | ||
core | ||
meta | ||
ui | ||
.cvsignore | ||
50-mutter-navigation.xml.in | ||
50-mutter-system.xml.in | ||
50-mutter-windows.xml.in | ||
default_icon.png | ||
idle-monitor.xml | ||
libmutter.pc.in | ||
Makefile.am | ||
mutter-enum-types.c.in | ||
mutter-enum-types.h.in | ||
mutter-plugins.pc.in | ||
mutter-schemas.convert | ||
mutter-wm.desktop.in | ||
mutter.desktop.in | ||
org.gnome.mutter.gschema.xml.in | ||
run-mutter.sh | ||
xrandr.xml |