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:
Maks Naumov 2015-01-11 10:34:56 -08:00 committed by Matthias Clasen
parent f120ae7b4d
commit 430ea2fff6

View File

@ -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;