From af228b879aa6f375cffd20345baa5c7530615b3b Mon Sep 17 00:00:00 2001 From: Jonathan Marler Date: Tue, 10 Mar 2026 22:44:56 -0600 Subject: [PATCH] backend/x11: ignore DestroyNotify events The X11 backend subscribes to StructureNotify events, so when output_destroy() calls xcb_destroy_window() the server sends a DestroyNotify back. This is expected and harmless but was logged as an unhandled event. Silence it the same way MAP_NOTIFY and UNMAP_NOTIFY are already silenced. (cherry picked from commit 3c8d199ec13ef247c230a950e0ad3ab1b160ed59) --- backend/x11/backend.c | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/x11/backend.c b/backend/x11/backend.c index 0983bad0a..4dc4bf16d 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -115,6 +115,7 @@ static void handle_x11_event(struct wlr_x11_backend *x11, handle_x11_error(x11, ev); break; } + case XCB_DESTROY_NOTIFY: case XCB_UNMAP_NOTIFY: case XCB_MAP_NOTIFY: break;