window.c: Also grab touch events when grabbing input
This commit is contained in:
@@ -2979,6 +2979,9 @@ touch_handle_down(void *data, struct wl_touch *wl_touch,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (input->grab)
|
||||||
|
widget = input->grab;
|
||||||
|
else
|
||||||
widget = window_find_widget(input->touch_focus,
|
widget = window_find_widget(input->touch_focus,
|
||||||
wl_fixed_to_double(x_w),
|
wl_fixed_to_double(x_w),
|
||||||
wl_fixed_to_double(y_w));
|
wl_fixed_to_double(y_w));
|
||||||
|
|||||||
Reference in New Issue
Block a user