return 0 on success for cmd_fullscreen

master
Taiyu 9 years ago
parent 604be65625
commit f62a700bc8

@ -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); wlc_view_set_state(container->handle, WLC_BIT_FULLSCREEN, !current);
arrange_windows(container, -1, -1); arrange_windows(container, -1, -1);
return 1; return 0;
} }
int cmd_workspace(struct sway_config *config, int argc, char **argv) { int cmd_workspace(struct sway_config *config, int argc, char **argv) {

Loading…
Cancel
Save