sway: rearrange the whole ws on lock view setup

master
progandy 9 years ago
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…
Cancel
Save