1
1
mirror of https://github.com/swaywm/sway synced 2024-09-30 13:11:29 +02:00

Don't reset x,y position before use.

The x and y position is calculated based on the position of the bar, we
don't want to reset these values when we need them.
This commit is contained in:
Mikkel Oscar Lyderik 2015-12-13 22:49:58 +01:00
parent e2cb5e5420
commit 3891a7c73f

@ -455,7 +455,6 @@ static void arrange_windows_r(swayc_t *container, double width, double height) {
container->width = width;
container->height = height;
x = 0, y = 0;
for (i = 0; i < container->children->length; ++i) {
swayc_t *child = container->children->items[i];
int gap = swayc_gap(child);