aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-10 17:34:01 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-10 17:34:01 -0400
commit763c44fb857047dc730f5270e87e28341d7dd5ea (patch)
tree65c1cea75dce439faec4a9be1ee0d7185019db12 /sway/commands.c
parentc10fc5b526b8ec4bb4d1fae68790b1592d12fd4d (diff)
parentf62a700bc82fb1dd775af9c574525a96e922d040 (diff)
Merge pull request #12 from taiyu-len/master
return 0 on success.
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 94d5a7ff..f1440c57 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -260,7 +260,7 @@ int cmd_fullscreen(struct sway_config *config, int argc, char **argv) {
wlc_view_set_state(container->handle, WLC_BIT_FULLSCREEN, !current);
arrange_windows(container, -1, -1);
- return 1;
+ return 0;
}
int cmd_workspace(struct sway_config *config, int argc, char **argv) {
@@ -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 */