diff options
Diffstat (limited to 'sway/commands/fullscreen.c')
-rw-r--r-- | sway/commands/fullscreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/fullscreen.c b/sway/commands/fullscreen.c index 0d7ba112..3392a7f7 100644 --- a/sway/commands/fullscreen.c +++ b/sway/commands/fullscreen.c @@ -35,7 +35,7 @@ struct cmd_results *cmd_fullscreen(int argc, char **argv) { bool is_fullscreen = false; for (struct sway_container *curr = container; curr; curr = curr->parent) { - if (curr && curr->fullscreen_mode != FULLSCREEN_NONE) { + if (curr->fullscreen_mode != FULLSCREEN_NONE) { container = curr; is_fullscreen = true; break; |