commit c901510e01f7648a549187b128ed9d0f9c5627eb
parent 6a1a94b87c7e3e3c7145087c23024f9039a8a08c
Author: Brian Ashworth <bosrsf04@gmail.com>
Date: Sat, 31 Mar 2018 11:13:20 -0400
Fixes back-and-forth name saving for non-empty ws
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c
@@ -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