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:
Dorota Czaplejewicz 2019-06-17 09:48:55 +00:00 committed by Simon Ser
parent ce3f4c3fe1
commit 5027b23dc2
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ static void send_button_event(struct wlr_x11_output *output, uint32_t key,
.state = st,
};
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,