diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-10-06 08:58:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-06 08:58:29 -0400 |
commit | fff684b98eb9a06e915f9b7dd9ebce1ceb95dede (patch) | |
tree | 4850489604dd7c55716044c8210dbeea1b7bb10f /sway/workspace.c | |
parent | Merge pull request #1383 from kasicka/macarena (diff) | |
parent | Make `workspace_next_name` work with spaces (diff) | |
download | sway-fff684b98eb9a06e915f9b7dd9ebce1ceb95dede.tar.gz sway-fff684b98eb9a06e915f9b7dd9ebce1ceb95dede.tar.zst sway-fff684b98eb9a06e915f9b7dd9ebce1ceb95dede.zip |
Merge pull request #1384 from lbonn/move-workspace-fullname
Fix two issues with spaces in workspace names
Diffstat (limited to 'sway/workspace.c')
-rw-r--r-- | sway/workspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/workspace.c b/sway/workspace.c index 29cacce9..e0367190 100644 --- a/sway/workspace.c +++ b/sway/workspace.c | |||
@@ -61,7 +61,7 @@ char *workspace_next_name(const char *output_name) { | |||
61 | // workspace n | 61 | // workspace n |
62 | char *cmd = argsep(&cmdlist, " "); | 62 | char *cmd = argsep(&cmdlist, " "); |
63 | if (cmdlist) { | 63 | if (cmdlist) { |
64 | name = argsep(&cmdlist, " ,;"); | 64 | name = argsep(&cmdlist, ",;"); |
65 | } | 65 | } |
66 | 66 | ||
67 | if (strcmp("workspace", cmd) == 0 && name) { | 67 | if (strcmp("workspace", cmd) == 0 && name) { |