mirror of
https://github.com/swaywm/sway.git
synced 2024-11-23 00:11:28 +00:00
sway: rearrange the whole ws on lock view setup
This commit is contained in:
parent
52ff89cecc
commit
33887e3955
|
@ -124,7 +124,7 @@ static void set_lock_surface(struct wl_client *client, struct wl_resource *resou
|
|||
workspace->fullscreen = view;
|
||||
desktop_shell.is_locked = true;
|
||||
set_focused_container(view);
|
||||
arrange_windows(view, -1, -1);
|
||||
arrange_windows(workspace, -1, -1);
|
||||
list_add(desktop_shell.lock_surfaces, surface);
|
||||
wl_resource_set_destructor(surface, lock_surface_destructor);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue