mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-23 03:34:17 +00:00
backend-wayland: always propagate touch frame event
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
This commit is contained in:
parent
5448580111
commit
631b60b38b
|
@ -2177,10 +2177,6 @@ input_handle_touch_up(void *data, struct wl_touch *wl_touch,
|
|||
timespec_from_msec(&ts, time);
|
||||
|
||||
input->touch_points--;
|
||||
if (input->touch_points == 0) {
|
||||
input->touch_focus = NULL;
|
||||
input->touch_active = false;
|
||||
}
|
||||
|
||||
if (!output)
|
||||
return;
|
||||
|
@ -2243,6 +2239,11 @@ input_handle_touch_frame(void *data, struct wl_touch *wl_touch)
|
|||
return;
|
||||
|
||||
notify_touch_frame(input->touch_device);
|
||||
|
||||
if (input->touch_points == 0) {
|
||||
input->touch_focus = NULL;
|
||||
input->touch_active = false;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue