mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend/wayland: send touch frame events
This commit is contained in:
parent
2d36d7fb67
commit
8eef6a8843
1 changed files with 4 additions and 1 deletions
|
|
@ -352,7 +352,10 @@ static void touch_handle_motion(void *data, struct wl_touch *wl_touch,
|
|||
}
|
||||
|
||||
static void touch_handle_frame(void *data, struct wl_touch *wl_touch) {
|
||||
// no-op
|
||||
struct wlr_wl_input_device *device = data;
|
||||
assert(device && device->wlr_input_device.touch);
|
||||
|
||||
wlr_signal_emit_safe(&device->wlr_input_device.touch->events.frame, NULL);
|
||||
}
|
||||
|
||||
static void touch_handle_cancel(void *data, struct wl_touch *wl_touch) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue