fixed active_workspace update on focus change

This commit is contained in:
taiyu 2015-08-19 15:22:55 -07:00
parent a90bd212a1
commit a31f23f90c
3 changed files with 11 additions and 3 deletions

View file

@ -183,7 +183,6 @@ void workspace_switch(swayc_t *workspace) {
return;
}
sway_log(L_DEBUG, "Switching to workspace %p:%s", workspace, workspace->name);
active_workspace = workspace;
set_focused_container(get_focused_view(workspace));
arrange_windows(workspace, -1, -1);
}