mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
input: close xdg-popups on touch down
Taken over and now shared from the tablet implementation.
This commit is contained in:
parent
7e0cd8ee5a
commit
d1cde3c435
4 changed files with 27 additions and 25 deletions
|
|
@ -126,6 +126,7 @@ handle_touch_down(struct wl_listener *listener, void *data)
|
|||
int touch_point_count = wl_list_length(&seat->touch_points);
|
||||
|
||||
if (touch_point->surface) {
|
||||
seat_pointer_end_grab(seat, touch_point->surface);
|
||||
/* Clear focus to not interfere with touch input */
|
||||
wlr_seat_pointer_notify_clear_focus(seat->seat);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue