diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c index db6b437..2250267 100644 --- a/xwayland/window-manager.c +++ b/xwayland/window-manager.c @@ -1911,6 +1911,12 @@ weston_wm_handle_event(int fd, uint32_t mask, void *data) int count = 0; while (event = xcb_poll_for_event(wm->conn), event != NULL) { + if (EVENT_TYPE(event) == XCB_ALLOC_COLOR_PLANES) { + free(event); + count++; + break; + } + if (weston_wm_handle_selection_event(wm, event)) { free(event); count++;