diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-04-02 12:28:08 -0400 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-04-02 12:28:08 -0400 |
| commit | 466490578ea355ead6554bd12c54670d57008b14 (patch) | |
| tree | ab377eb7b78ed91bd430579468afa2190b86762a | |
| parent | e6a3a6f9dc177e052cda61d81406b437d7dee0f6 (diff) | |
| parent | 1d2f519f597d66bd55f7b2c488f474acffeb8ff7 (diff) | |
Merge pull request #1697 from RedSoxFan/back-and-forth
Fix back-and-forth workspace name saving for non-empty workspaces
| -rw-r--r-- | sway/tree/workspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c index c629f1f1..de1bf159 100644 --- 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 |
