mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2025-01-29 08:34:59 +01:00
Make workspace_next_name
work with spaces
`workspace_next_name` parses workspace commands to find the default workspace names. It handled " " as a separator, which prevents the use of workspace names with spaces.
This commit is contained in:
parent
6197fff0b4
commit
a7e1a0eea9
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ char *workspace_next_name(const char *output_name) {
|
|||
// workspace n
|
||||
char *cmd = argsep(&cmdlist, " ");
|
||||
if (cmdlist) {
|
||||
name = argsep(&cmdlist, " ,;");
|
||||
name = argsep(&cmdlist, ",;");
|
||||
}
|
||||
|
||||
if (strcmp("workspace", cmd) == 0 && name) {
|
||||
|
|
Loading…
Add table
Reference in a new issue