x11: skip vanished child windows when listing children
Backported from GTK 3 commit 430ea2fff6 by Maks Naumov.
This commit is contained in:
parent
88c1c434cd
commit
e1a840186f
1 changed files with 1 additions and 1 deletions
|
|
@ -620,7 +620,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 a new issue