diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-13 12:21:21 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-12-13 12:21:21 +0100 |
commit | 525fa6ada067084bc63e3002ba12e07499623514 (patch) | |
tree | 70b50a3149e286ac86448bbb2c21d6d888f502c2 | |
parent | c59aacf944658d81fb4834f9744186794bea9922 (diff) |
backend/x11: fix xinput mask mixed up with present
Don't mix xinput and present flags.
Fixes: d79a00bf0208 ("backend/x11: switch to wlr_swapchain")
-rw-r--r-- | backend/x11/output.c | 3 |
1 files changed, 1 insertions, 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); |