diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-08-20 19:22:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 19:22:44 -0400 |
commit | 389610795b9ceff18f563b73e007b1b54d58bbb2 (patch) | |
tree | 8275b73d5c02b13884ca2fbc036fbb6069b01833 /sway/tree | |
parent | 99631c505097cd5b7c13b5f89711e089435cb0da (diff) | |
parent | 471533be0a1932b2444faca54493a0fcfe618922 (diff) |
Merge pull request #2502 from minus7/workspace-names
Improve new workspace name selection
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/workspace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c index 292f2c9a..cf50ee09 100644 --- a/sway/tree/workspace.c +++ b/sway/tree/workspace.c @@ -205,6 +205,7 @@ char *workspace_next_name(const char *output_name) { && workspace_by_name(wso->workspace) == NULL) { free(target); target = strdup(wso->workspace); + break; } } if (target != NULL) { |