diff options
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index 38019be5..9cc33b9c 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -1464,7 +1464,7 @@ static struct cmd_results *cmd_fullscreen(int argc, char **argv) { | |||
1464 | wlc_view_set_state(container->handle, WLC_BIT_FULLSCREEN, !current); | 1464 | wlc_view_set_state(container->handle, WLC_BIT_FULLSCREEN, !current); |
1465 | // Resize workspace if going from fullscreen -> notfullscreen | 1465 | // Resize workspace if going from fullscreen -> notfullscreen |
1466 | // otherwise just resize container | 1466 | // otherwise just resize container |
1467 | if (current) { | 1467 | if (!current) { |
1468 | arrange_windows(workspace, -1, -1); | 1468 | arrange_windows(workspace, -1, -1); |
1469 | workspace->fullscreen = container; | 1469 | workspace->fullscreen = container; |
1470 | } else { | 1470 | } else { |