mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
commit
763c44fb85
@ -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) {
|
||||||
@ -275,7 +275,7 @@ int cmd_workspace(struct sway_config *config, int argc, char **argv) {
|
|||||||
} else sway_log(L_DEBUG, "workspace exists, all ok");
|
} else sway_log(L_DEBUG, "workspace exists, all ok");
|
||||||
|
|
||||||
workspace_switch(workspace);
|
workspace_switch(workspace);
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Keep alphabetized */
|
/* Keep alphabetized */
|
||||||
|
Loading…
Reference in New Issue
Block a user