backend/x11: send touch frame events

master
Simon Ser 3 years ago
parent 8eef6a8843
commit c1902cdb3f

@ -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,

Loading…
Cancel
Save