mirror of
https://github.com/swaywm/sway.git
synced 2024-11-23 08:21: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;
|
workspace->fullscreen = view;
|
||||||
desktop_shell.is_locked = true;
|
desktop_shell.is_locked = true;
|
||||||
set_focused_container(view);
|
set_focused_container(view);
|
||||||
arrange_windows(view, -1, -1);
|
arrange_windows(workspace, -1, -1);
|
||||||
list_add(desktop_shell.lock_surfaces, surface);
|
list_add(desktop_shell.lock_surfaces, surface);
|
||||||
wl_resource_set_destructor(surface, lock_surface_destructor);
|
wl_resource_set_destructor(surface, lock_surface_destructor);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue