From: garbeam@gmail.com Date: Sun, 10 Jul 2011 20:18:50 +0000 (+0100) Subject: removed unneeded offset recalculation, thanks Jukka, let's see if this breaks some... X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=b3c5f5435ad8bdf69cd5b0cc23c8b3217c39ba5c;p=dwm.git removed unneeded offset recalculation, thanks Jukka, let's see if this breaks some other client --- diff --git a/dwm.c b/dwm.c index ba00afe..a0ab126 100644 --- a/dwm.c +++ b/dwm.c @@ -1112,8 +1112,8 @@ manage(Window w, XWindowAttributes *wa) { applyrules(c); } /* geometry */ - c->x = c->oldx = wa->x + c->mon->wx; - c->y = c->oldy = wa->y + c->mon->wy; + c->x = c->oldx = wa->x; + c->y = c->oldy = wa->y; c->w = c->oldw = wa->width; c->h = c->oldh = wa->height; c->oldbw = wa->border_width;