mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
windows-x11.c: Fix leaked error trap
The merge of the commit af46ef3b
'meta_window_new: clean up error handling'
to the wayland branch accidentally added an extra call to meta_error_trap_push(),
meaning that we leaked one level of error traps for each new window.
Fixes warning:
Gdk-WARNING **: XSetErrorHandler() called with a GDK error trap pushed.
https://bugzilla.gnome.org/show_bug.cgi?id=736589
This commit is contained in:
parent
df2587a61c
commit
611f6741c2
@ -2869,8 +2869,6 @@ meta_window_x11_new (MetaDisplay *display,
|
||||
wm_state_to_string (existing_wm_state));
|
||||
}
|
||||
|
||||
meta_error_trap_push (display);
|
||||
|
||||
/*
|
||||
* XAddToSaveSet can only be called on windows created by a different
|
||||
* client. with Mutter we want to be able to create manageable windows
|
||||
|
Loading…
Reference in New Issue
Block a user