mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
removed unneeded offset recalculation, thanks Jukka, let's see if this breaks some other client
This commit is contained in:
parent
a692bdcf2b
commit
b3c5f5435a
1 changed files with 2 additions and 2 deletions
4
dwm.c
4
dwm.c
|
@ -1112,8 +1112,8 @@ manage(Window w, XWindowAttributes *wa) {
|
||||||
applyrules(c);
|
applyrules(c);
|
||||||
}
|
}
|
||||||
/* geometry */
|
/* geometry */
|
||||||
c->x = c->oldx = wa->x + c->mon->wx;
|
c->x = c->oldx = wa->x;
|
||||||
c->y = c->oldy = wa->y + c->mon->wy;
|
c->y = c->oldy = wa->y;
|
||||||
c->w = c->oldw = wa->width;
|
c->w = c->oldw = wa->width;
|
||||||
c->h = c->oldh = wa->height;
|
c->h = c->oldh = wa->height;
|
||||||
c->oldbw = wa->border_width;
|
c->oldbw = wa->border_width;
|
||||||
|
|
Loading…
Reference in a new issue