1
0
Fork 0
mutter-performance-source/src
Daniel Drake 69dfd07a7f meta_window_new: clean up error handling
The return code of XGetWindowAttributes() indicates whether an error
was encountered or not. There is no need to specifically check the error
trap.

The trap around XAddToSaveSet() was superfluous. We have a global error
trap to ignore any errors here, and there is no need to XSync() as GDK
will later ignore the error asynchronously if one is raised.

Also move common error exit path to an error label.

https://bugzilla.gnome.org/show_bug.cgi?id=721345
2014-01-06 14:25:32 -06:00
..
compositor window-actor: Fix optimization in get_paint_volume 2013-12-18 19:09:13 -05:00
core meta_window_new: clean up error handling 2014-01-06 14:25:32 -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