diff options
author | Simon Ser <contact@emersion.fr> | 2021-06-30 11:39:53 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-07-08 09:12:17 +0200 |
commit | c1902cdb3f98908e5b52b9c2def9ebc0dd1ebc01 (patch) | |
tree | f980bddeb7e004043f2f592b7da722079ba9a742 /backend/x11 | |
parent | 8eef6a884388266ba1b5fc70960e42bf5127deaf (diff) |
backend/x11: send touch frame events
Diffstat (limited to 'backend/x11')
-rw-r--r-- | backend/x11/input_device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/x11/input_device.c b/backend/x11/input_device.c index f4911777..d3a3db9e 100644 --- a/backend/x11/input_device.c +++ b/backend/x11/input_device.c @@ -79,6 +79,7 @@ static void send_touch_down_event(struct wlr_x11_output *output, .touch_id = touch_id, }; wlr_signal_emit_safe(&output->touch.events.down, &ev); + wlr_signal_emit_safe(&output->touch.events.frame, NULL); } static void send_touch_motion_event(struct wlr_x11_output *output, @@ -91,6 +92,7 @@ static void send_touch_motion_event(struct wlr_x11_output *output, .touch_id = touch_id, }; wlr_signal_emit_safe(&output->touch.events.motion, &ev); + wlr_signal_emit_safe(&output->touch.events.frame, NULL); } static void send_touch_up_event(struct wlr_x11_output *output, @@ -101,6 +103,7 @@ static void send_touch_up_event(struct wlr_x11_output *output, .touch_id = touch_id, }; wlr_signal_emit_safe(&output->touch.events.up, &ev); + wlr_signal_emit_safe(&output->touch.events.frame, NULL); } static struct wlr_x11_touchpoint* get_touchpoint_from_x11_touch_id(struct wlr_x11_output *output, |