diff options
Diffstat (limited to 'sway')
-rw-r--r-- | sway/tree/view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index f872bef6..41dee1c4 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -400,7 +400,8 @@ void view_map(struct sway_view *view, struct wlr_surface *wlr_surface) { | |||
400 | } | 400 | } |
401 | 401 | ||
402 | struct sway_seat *seat = input_manager_current_seat(input_manager); | 402 | struct sway_seat *seat = input_manager_current_seat(input_manager); |
403 | struct sway_container *focus = seat_get_focus(seat); | 403 | struct sway_container *focus = |
404 | seat_get_focus_inactive(seat, &root_container); | ||
404 | struct sway_container *cont = NULL; | 405 | struct sway_container *cont = NULL; |
405 | 406 | ||
406 | // Check if there's any `assign` criteria for the view | 407 | // Check if there's any `assign` criteria for the view |