aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorprogandy <code@progandy>2016-02-28 21:24:12 +0100
committerprogandy <code@progandy>2016-02-28 21:24:12 +0100
commit33887e3955c9a34c4edc115e952cca56891b089c (patch)
tree90b0685ec554e95f2eab5cc451e473be3c5b67c0 /sway
parent52ff89cecc817c34b61f31c344f03137279c2e3d (diff)
sway: rearrange the whole ws on lock view setup
Diffstat (limited to 'sway')
-rw-r--r--sway/extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/extensions.c b/sway/extensions.c
index eee3a1d8..bd279276 100644
--- a/sway/extensions.c
+++ b/sway/extensions.c
@@ -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 {