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.
This commit is contained in:
Jonathan Marler 2026-03-10 22:44:56 -06:00
parent 7ccef7d9eb
commit 3c8d199ec1

View file

@ -115,6 +115,7 @@ static void handle_x11_event(struct wlr_x11_backend *x11,
handle_x11_error(x11, ev); handle_x11_error(x11, ev);
break; break;
} }
case XCB_DESTROY_NOTIFY:
case XCB_UNMAP_NOTIFY: case XCB_UNMAP_NOTIFY:
case XCB_MAP_NOTIFY: case XCB_MAP_NOTIFY:
break; break;