Don't transfer focus to NULL node on touch

Fixes #5185
master
David96 5 years ago committed by Simon Ser
parent 0efc28e2f5
commit 2b15cf453e

@ -408,7 +408,9 @@ static void handle_touch_down(struct wl_listener *listener, void *data) {
event->touch_id, sx, sy);
}
seat_set_focus(seat, focused_node);
if (focused_node) {
seat_set_focus(seat, focused_node);
}
}
static void handle_touch_up(struct wl_listener *listener, void *data) {

Loading…
Cancel
Save