aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorTaiyu <taiyu.len@gmail.com>2015-08-10 14:29:24 -0700
committerTaiyu <taiyu.len@gmail.com>2015-08-10 14:29:24 -0700
commit604be656256e0bed22f3d7ab3a19951bb5157152 (patch)
treed1f3c2c8ccd605a0ba4ca9ad42c1e481eaef23a8 /sway/commands.c
parent8f19faf6e7b681640c0c247d11bf72bab9315633 (diff)
make cmd_workspace return 0 on success
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 94d5a7ff..5c91ab55 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -275,7 +275,7 @@ int cmd_workspace(struct sway_config *config, int argc, char **argv) {
} else sway_log(L_DEBUG, "workspace exists, all ok");
workspace_switch(workspace);
- return 1;
+ return 0;
}
/* Keep alphabetized */