Commit 430ea2ff authored by Maks Naumov's avatar Maks Naumov Committed by Matthias Clasen

Properly ignore BadWindow and BadDrawable in get_child_info_handler()

Signed-off-by: default avatarMaks Naumov <maksqwe1@ukr.net>

https://bugzilla.gnome.org/show_bug.cgi?id=742771
parent f120ae7b
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment