mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
Fix crash when launching programs from dmenu
This commit is contained in:
parent
8432d8a15e
commit
92b8497a0b
1 changed files with 2 additions and 1 deletions
|
@ -400,7 +400,8 @@ void view_map(struct sway_view *view, struct wlr_surface *wlr_surface) {
|
|||
}
|
||||
|
||||
struct sway_seat *seat = input_manager_current_seat(input_manager);
|
||||
struct sway_container *focus = seat_get_focus(seat);
|
||||
struct sway_container *focus =
|
||||
seat_get_focus_inactive(seat, &root_container);
|
||||
struct sway_container *cont = NULL;
|
||||
|
||||
// Check if there's any `assign` criteria for the view
|
||||
|
|
Loading…
Reference in a new issue