aboutsummarylogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorgarbeam@gmail.com2011-07-10 21:18:50 +0100
committergarbeam@gmail.com2011-07-10 21:18:50 +0100
commit88c747ebe7826e2443bc8e1e09dfeb5de63c9aa3 (patch)
tree6467425fb564d195417e019eebf54f7083d9a3b5 /dwm.c
parent31ad6cd4bc7c68a95a259df96dcd3564b0a662ca (diff)
downloadaur-88c747ebe7826e2443bc8e1e09dfeb5de63c9aa3.tar.gz
removed unneeded offset recalculation, thanks Jukka, let's see if this breaks some other client
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index ba00afeb6aa8..a0ab126352d7 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;