Fixes back-and-forth name saving for non-empty ws

This commit is contained in:
Brian Ashworth 2018-03-31 11:13:20 -04:00
parent 6a1a94b87c
commit c901510e01

View file

@ -351,7 +351,7 @@ bool workspace_switch(struct sway_container *workspace) {
}
struct sway_container *active_ws = focus;
if (active_ws->type != C_WORKSPACE) {
container_parent(focus, C_WORKSPACE);
active_ws = container_parent(focus, C_WORKSPACE);
}
if (config->auto_back_and_forth