mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 16:36:26 +01:00
Merge pull request #305 from mikkeloscar/fix-window-start
Don't reset x,y position before use.
This commit is contained in:
commit
0b6949df08
1 changed files with 0 additions and 1 deletions
|
@ -455,7 +455,6 @@ static void arrange_windows_r(swayc_t *container, double width, double height) {
|
||||||
|
|
||||||
container->width = width;
|
container->width = width;
|
||||||
container->height = height;
|
container->height = height;
|
||||||
x = 0, y = 0;
|
|
||||||
for (i = 0; i < container->children->length; ++i) {
|
for (i = 0; i < container->children->length; ++i) {
|
||||||
swayc_t *child = container->children->items[i];
|
swayc_t *child = container->children->items[i];
|
||||||
int gap = swayc_gap(child);
|
int gap = swayc_gap(child);
|
||||||
|
|
Loading…
Reference in a new issue