mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Fixes back-and-forth name saving for non-empty ws
This commit is contained in:
parent
6a1a94b87c
commit
c901510e01
1 changed files with 1 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ bool workspace_switch(struct sway_container *workspace) {
|
||||||
}
|
}
|
||||||
struct sway_container *active_ws = focus;
|
struct sway_container *active_ws = focus;
|
||||||
if (active_ws->type != C_WORKSPACE) {
|
if (active_ws->type != C_WORKSPACE) {
|
||||||
container_parent(focus, C_WORKSPACE);
|
active_ws = container_parent(focus, C_WORKSPACE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config->auto_back_and_forth
|
if (config->auto_back_and_forth
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue