From eccfcde2ebf8d54f181825db04e27a3898983de4 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Fri, 31 Aug 2018 19:16:49 +1000 Subject: Fix crash when moving mouse over a fullscreen split container --- sway/input/cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/input/cursor.c') diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 15993265..5b09d646 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -464,7 +464,7 @@ void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, struct sway_node *next_focus = seat_get_focus_inactive(seat, &root->node); if (next_focus && next_focus->type == N_CONTAINER && - node->sway_container->view && + next_focus->sway_container->view && view_is_visible(next_focus->sway_container->view)) { seat_set_focus_warp(seat, next_focus, false, true); } -- cgit v1.2.3