mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-16 05:34:23 -04:00
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:
parent
7ccef7d9eb
commit
3c8d199ec1
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue