removed unneeded offset recalculation, thanks Jukka, let's see if this breaks some...
authorgarbeam@gmail.com <unknown>
Sun, 10 Jul 2011 20:18:50 +0000 (21:18 +0100)
committergarbeam@gmail.com <unknown>
Sun, 10 Jul 2011 20:18:50 +0000 (21:18 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index ba00afe..a0ab126 100644 (file)
--- 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;