From 525fa6ada067084bc63e3002ba12e07499623514 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 13 Dec 2020 12:21:21 +0100 Subject: backend/x11: fix xinput mask mixed up with present Don't mix xinput and present flags. Fixes: d79a00bf0208 ("backend/x11: switch to wlr_swapchain") --- backend/x11/output.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/x11/output.c b/backend/x11/output.c index 0e81179d..c7cf1b63 100644 --- a/backend/x11/output.c +++ b/backend/x11/output.c @@ -375,8 +375,7 @@ struct wlr_output *wlr_x11_output_create(struct wlr_backend *backend) { XCB_INPUT_XI_EVENT_MASK_LEAVE | XCB_INPUT_XI_EVENT_MASK_TOUCH_BEGIN | XCB_INPUT_XI_EVENT_MASK_TOUCH_END | - XCB_INPUT_XI_EVENT_MASK_TOUCH_UPDATE | - XCB_PRESENT_EVENT_MASK_IDLE_NOTIFY, + XCB_INPUT_XI_EVENT_MASK_TOUCH_UPDATE, }; xcb_input_xi_select_events(x11->xcb, output->win, 1, &xinput_mask.head); -- cgit v1.2.3