aboutsummaryrefslogtreecommitdiff
path: root/sway/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/container.c')
-rw-r--r--sway/container.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/container.c b/sway/container.c
index 2f656bd8..9b1eac60 100644
--- a/sway/container.c
+++ b/sway/container.c
@@ -401,9 +401,9 @@ void floating_view_sane_size(swayc_t *view) {
config->floating_maximum_height = swayc_active_workspace()->height;
} else if (config->floating_maximum_height != -1 &&
- view->desired_height > config->floating_maximum_height) {
- view->desired_height = config->floating_maximum_height;
- }
+ view->desired_height > config->floating_maximum_height) {
+ view->desired_height = config->floating_maximum_height;
+ }
// if 0 do not resize, only enforce max value
if (config->floating_maximum_width == 0) {