diff options
-rw-r--r-- | sway/commands.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index cdc80a0b..be6bc8cf 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -445,7 +445,8 @@ static bool cmd_resize(struct sway_config *config, int argc, char **argv) { | |||
445 | if (!parent) { | 445 | if (!parent) { |
446 | return true; | 446 | return true; |
447 | } | 447 | } |
448 | // Find the closest possible sibling and resize using that edge | 448 | // Find the closest parent container which has siblings of the proper layout. |
449 | // Then apply the resize to all of them. | ||
449 | int i; | 450 | int i; |
450 | if (strcmp(argv[1], "width") == 0) { | 451 | if (strcmp(argv[1], "width") == 0) { |
451 | int lnumber = 0; | 452 | int lnumber = 0; |