mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
Properly ignore BadWindow and BadDrawable in get_child_info_handler()
Signed-off-by: Maks Naumov <maksqwe1@ukr.net> https://bugzilla.gnome.org/show_bug.cgi?id=742771
This commit is contained in:
parent
f120ae7b4d
commit
430ea2fff6
@ -476,7 +476,7 @@ get_child_info_handler (Display *dpy,
|
||||
if (rep->generic.type == X_Error)
|
||||
{
|
||||
state->child_has_error = TRUE;
|
||||
if (rep->error.errorCode != BadDrawable ||
|
||||
if (rep->error.errorCode != BadDrawable &&
|
||||
rep->error.errorCode != BadWindow)
|
||||
{
|
||||
state->have_error = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user