diff options
-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) { | |||
205 | && workspace_by_name(wso->workspace) == NULL) { | 205 | && workspace_by_name(wso->workspace) == NULL) { |
206 | free(target); | 206 | free(target); |
207 | target = strdup(wso->workspace); | 207 | target = strdup(wso->workspace); |
208 | break; | ||
208 | } | 209 | } |
209 | } | 210 | } |
210 | if (target != NULL) { | 211 | if (target != NULL) { |