mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 06:24:20 +01:00
make cmd_workspace return 0 on success
This commit is contained in:
parent
8f19faf6e7
commit
604be65625
@ -275,7 +275,7 @@ int cmd_workspace(struct sway_config *config, int argc, char **argv) {
|
|||||||
} else sway_log(L_DEBUG, "workspace exists, all ok");
|
} else sway_log(L_DEBUG, "workspace exists, all ok");
|
||||||
|
|
||||||
workspace_switch(workspace);
|
workspace_switch(workspace);
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Keep alphabetized */
|
/* Keep alphabetized */
|
||||||
|
Loading…
Reference in New Issue
Block a user