summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Luminarys <kizunanohikari@gmail.com>2015-08-20 11:35:01 -0500
committerLibravatar Luminarys <kizunanohikari@gmail.com>2015-08-20 11:35:01 -0500
commitd06732e1a8c2df4d1523c1c0efeff5534156e387 (patch)
treef7777f64e0bff9ce9e0396fbb735476bb0cf56d0
parentAdded in basic resize command (diff)
downloadsway-d06732e1a8c2df4d1523c1c0efeff5534156e387.tar.gz
sway-d06732e1a8c2df4d1523c1c0efeff5534156e387.tar.zst
sway-d06732e1a8c2df4d1523c1c0efeff5534156e387.zip
Altered incorrect comment
-rw-r--r--sway/commands.c3
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;