diff options
Diffstat (limited to 'sway/workspace.c')
-rw-r--r-- | sway/workspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/workspace.c b/sway/workspace.c index 05a669fe..60108752 100644 --- a/sway/workspace.c +++ b/sway/workspace.c | |||
@@ -178,9 +178,9 @@ void workspace_switch(swayc_t *workspace) { | |||
178 | return; | 178 | return; |
179 | } | 179 | } |
180 | sway_log(L_DEBUG, "Switching to workspace %p:%s", workspace, workspace->name); | 180 | sway_log(L_DEBUG, "Switching to workspace %p:%s", workspace, workspace->name); |
181 | active_workspace = workspace; | ||
181 | set_focused_container(get_focused_view(workspace)); | 182 | set_focused_container(get_focused_view(workspace)); |
182 | arrange_windows(workspace, -1, -1); | 183 | arrange_windows(workspace, -1, -1); |
183 | active_workspace = workspace; | ||
184 | } | 184 | } |
185 | 185 | ||
186 | /* XXX:DEBUG:XXX */ | 186 | /* XXX:DEBUG:XXX */ |