diff options
-rw-r--r-- | sway/commands/resize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/resize.c b/sway/commands/resize.c index e876f48a..a90d578e 100644 --- a/sway/commands/resize.c +++ b/sway/commands/resize.c | |||
@@ -508,7 +508,7 @@ static struct cmd_results *resize_set_tiled(struct sway_container *con, | |||
508 | */ | 508 | */ |
509 | static struct cmd_results *resize_set_floating(struct sway_container *con, | 509 | static struct cmd_results *resize_set_floating(struct sway_container *con, |
510 | struct resize_amount *width, struct resize_amount *height) { | 510 | struct resize_amount *width, struct resize_amount *height) { |
511 | int min_width, max_width, min_height, max_height, grow_width, grow_height; | 511 | int min_width, max_width, min_height, max_height, grow_width = 0, grow_height = 0; |
512 | calculate_constraints(&min_width, &max_width, &min_height, &max_height); | 512 | calculate_constraints(&min_width, &max_width, &min_height, &max_height); |
513 | 513 | ||
514 | if (width->amount) { | 514 | if (width->amount) { |