From e1a840186fcda417f16212f2c21849a6db1d90ad Mon Sep 17 00:00:00 2001 From: Daemonratte Date: Thu, 15 Oct 2026 14:08:02 +0200 Subject: [PATCH] x11: skip vanished child windows when listing children Backported from GTK 3 commit 430ea2fff6 by Maks Naumov. --- gdk/x11/gdkasync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/x11/gdkasync.c b/gdk/x11/gdkasync.c index e72a96ef6..7d97e667d 100644 --- a/gdk/x11/gdkasync.c +++ b/gdk/x11/gdkasync.c @@ -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;