mutter/src
Daniel Drake 10c1903c72 Reduce server grabs during window creation
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
2014-01-06 14:27:42 -06:00
..
compositor window-actor: Fix optimization in get_paint_volume 2013-12-18 19:09:13 -05:00
core Reduce server grabs during window creation 2014-01-06 14:27:42 -06:00
meta Revert "Make tile preview a compositor plugin effect" 2013-12-12 09:09:44 +01:00
ui Revert "Make tile preview a compositor plugin effect" 2013-12-12 09:09:44 +01:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
50-mutter-navigation.xml.in Add 'switch-applications' keybinding 2012-12-05 18:45:22 +01:00
50-mutter-system.xml.in keybindings: Import keybinding files from Metacity 2012-11-12 19:27:35 +01:00
50-mutter-windows.xml.in keybindings: Rebrand "minimize" as "hide" 2013-01-11 16:22:29 +01:00
default_icon.png New 48x48 default icon as specified in bug #160660 2005-01-25 18:47:57 +00:00
idle-monitor.xml MetaIdleMonitor: add a DBus interface for the idle monitor 2013-08-23 15:25:13 +02:00
libmutter.pc.in Port preferences to GSettings 2011-11-11 20:26:38 +01:00
Makefile.am Revert "Make tile preview a compositor plugin effect" 2013-12-12 09:09:44 +01:00
mutter-enum-types.c.in Add bits missing from last commit 2009-07-04 17:14:48 +01:00
mutter-enum-types.h.in Use a META_ prefix for enum types, not MUTTER_ 2012-02-23 16:39:28 -05:00
mutter-plugins.pc.in Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
mutter-schemas.convert Remove live-hidden-windows from mutter-schemas.convert 2012-04-26 02:37:34 -04:00
mutter-wm.desktop.in Remove deprecated Encoding key from desktop files 2009-08-22 14:24:22 +02:00
mutter.desktop.in Remove deprecated Encoding key from desktop files 2009-08-22 14:24:22 +02:00
org.gnome.mutter.gschema.xml.in Revert "Add keyboard shortcut for Always on Top" 2013-11-16 21:34:48 +05:30
run-mutter.sh Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
xrandr.xml MonitorManager: return the new backlight after changing 2013-08-26 17:35:39 +02:00