From c1902cdb3f98908e5b52b9c2def9ebc0dd1ebc01 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 30 Jun 2021 11:39:53 +0200 Subject: [PATCH] backend/x11: send touch frame events --- backend/x11/input_device.c | 3 +++ 1 file changed, 3 insertions(+) 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,