mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
x11: Send a frame event on the pointer after button events
Without the immediate frame event, the button event would not be processed in time: https://source.puri.sm/Librem5/phoc/issues/
This commit is contained in:
parent
ce3f4c3fe1
commit
5027b23dc2
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ static void send_button_event(struct wlr_x11_output *output, uint32_t key,
|
||||||
.state = st,
|
.state = st,
|
||||||
};
|
};
|
||||||
wlr_signal_emit_safe(&output->pointer.events.button, &ev);
|
wlr_signal_emit_safe(&output->pointer.events.button, &ev);
|
||||||
|
wlr_signal_emit_safe(&output->pointer.events.frame, &output->pointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void send_axis_event(struct wlr_x11_output *output, int32_t delta,
|
static void send_axis_event(struct wlr_x11_output *output, int32_t delta,
|
||||||
|
|
Loading…
Reference in a new issue