mirror of
https://github.com/swaywm/sway.git
synced 2024-11-13 14:04:11 +01:00
Fix line length
This commit is contained in:
parent
eb74317c2d
commit
403905c11b
@ -1076,7 +1076,8 @@ static void seat_end_move_tiling(struct sway_seat *seat) {
|
|||||||
list_t *siblings = container_get_siblings(con);
|
list_t *siblings = container_get_siblings(con);
|
||||||
if (siblings->length > 1) {
|
if (siblings->length > 1) {
|
||||||
int index = list_find(siblings, con);
|
int index = list_find(siblings, con);
|
||||||
struct sway_container *sibling = index == 0 ? siblings->items[1] : siblings->items[index - 1];
|
struct sway_container *sibling = index == 0 ?
|
||||||
|
siblings->items[1] : siblings->items[index - 1];
|
||||||
con->width = sibling->width;
|
con->width = sibling->width;
|
||||||
con->height = sibling->height;
|
con->height = sibling->height;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user