Merge pull request #12 from taiyu-len/master

return 0 on success.
This commit is contained in:
Drew DeVault 2015-08-10 17:34:01 -04:00
commit 763c44fb85
1 changed files with 2 additions and 2 deletions

View File

@ -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 */