mirror of
https://github.com/brl/mutter.git
synced 2025-02-23 08:24:09 +00: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));
|
wm_state_to_string (existing_wm_state));
|
||||||
}
|
}
|
||||||
|
|
||||||
meta_error_trap_push (display);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XAddToSaveSet can only be called on windows created by a different
|
* XAddToSaveSet can only be called on windows created by a different
|
||||||
* client. with Mutter we want to be able to create manageable windows
|
* client. with Mutter we want to be able to create manageable windows
|
||||||
|
Loading…
x
Reference in New Issue
Block a user