summaryrefslogtreecommitdiffstats
path: root/sway
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-09-11 23:24:57 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-09-11 23:24:57 +1000
commit403905c11bf9996cf1937ec0067f33d013e78305 (patch)
treed3962238ee5f1cca9e06d7c6e6588246caaa3564 /sway
parentFix dropzone box on scaled outputs (diff)
downloadsway-403905c11bf9996cf1937ec0067f33d013e78305.tar.gz
sway-403905c11bf9996cf1937ec0067f33d013e78305.tar.zst
sway-403905c11bf9996cf1937ec0067f33d013e78305.zip
Fix line length
Diffstat (limited to 'sway')
-rw-r--r--sway/input/seat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index 86e5f809..231b545b 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -1076,7 +1076,8 @@ static void seat_end_move_tiling(struct sway_seat *seat) {
1076 list_t *siblings = container_get_siblings(con); 1076 list_t *siblings = container_get_siblings(con);
1077 if (siblings->length > 1) { 1077 if (siblings->length > 1) {
1078 int index = list_find(siblings, con); 1078 int index = list_find(siblings, con);
1079 struct sway_container *sibling = index == 0 ? siblings->items[1] : siblings->items[index - 1]; 1079 struct sway_container *sibling = index == 0 ?
1080 siblings->items[1] : siblings->items[index - 1];
1080 con->width = sibling->width; 1081 con->width = sibling->width;
1081 con->height = sibling->height; 1082 con->height = sibling->height;
1082 } 1083 }