input: clear SSD hover effects after touch-up

Having a hover effect visible without interaction looks out of
place when there is no cursor (the cursor becomes hidden for/after
touch interaction until next mouse or tablet interaction). Just
clear the hover effect after touch-up to prevent this.
Note that SSD hover effects are still shown during touch-move and
touch-down.
This commit is contained in:
Jens Peters 2025-06-15 09:39:19 +02:00 committed by Consolatis
parent 31dd21de5b
commit e0d3bebbb7

View file

@ -200,6 +200,7 @@ handle_touch_up(struct wl_listener *listener, void *data)
} else {
cursor_emulate_button(seat, BTN_LEFT,
WL_POINTER_BUTTON_STATE_RELEASED, event->time_msec);
ssd_update_button_hover(NULL, seat->server->ssd_hover_state);
}
wl_list_remove(&touch_point->link);
zfree(touch_point);