aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorTaiyu <taiyu.len@gmail.com>2015-08-10 14:31:32 -0700
committerTaiyu <taiyu.len@gmail.com>2015-08-10 14:31:32 -0700
commitf62a700bc82fb1dd775af9c574525a96e922d040 (patch)
treecdabef2bb9e471689eb01ec3f9519e16ae61b443 /sway
parent604be656256e0bed22f3d7ab3a19951bb5157152 (diff)
return 0 on success for cmd_fullscreen
Diffstat (limited to 'sway')
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 5c91ab55..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) {