mirror of
https://github.com/NickHu/sway
synced 2024-12-27 21:58:11 +01:00
parent
0efc28e2f5
commit
2b15cf453e
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue