mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
backend/x11: fix xinput mask mixed up with present
Don't mix xinput and present flags.
Fixes: d79a00bf02
("backend/x11: switch to wlr_swapchain")
This commit is contained in:
parent
c59aacf944
commit
525fa6ada0
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue