mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
add error trap, fixes a possible BadWindow if a window closed itself in
2002-04-21 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_send_icccm_message): add error trap, fixes a possible BadWindow if a window closed itself in response to the delete window message prior to us sending the ping message.
This commit is contained in:
parent
115c086eb9
commit
8183c509d9
@ -1,3 +1,9 @@
|
||||
2002-04-21 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/window.c (meta_window_send_icccm_message): add error trap,
|
||||
fixes a possible BadWindow if a window closed itself in response
|
||||
to the delete window message prior to us sending the ping message.
|
||||
|
||||
2002-04-21 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/window.c (meta_window_move_resize_now): never revert to
|
||||
|
@ -2747,8 +2747,10 @@ meta_window_send_icccm_message (MetaWindow *window,
|
||||
ev.data.l[0] = atom;
|
||||
ev.data.l[1] = timestamp;
|
||||
|
||||
meta_error_trap_push (window->display);
|
||||
XSendEvent (window->display->xdisplay,
|
||||
window->xwindow, False, 0, (XEvent*) &ev);
|
||||
meta_error_trap_pop (window->display);
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
Loading…
Reference in New Issue
Block a user