aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorgarbeam@gmail.com <unknown>2011-07-10 21:18:50 +0100
committergarbeam@gmail.com <unknown>2011-07-10 21:18:50 +0100
commitb3c5f5435ad8bdf69cd5b0cc23c8b3217c39ba5c (patch)
tree81476b90115ca2cc0a2a8d9273dd148af74ea227 /dwm.c
parenta692bdcf2b71dd0f776402be7b99df511a8333e7 (diff)
downloaddwm-b3c5f5435ad8bdf69cd5b0cc23c8b3217c39ba5c.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 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;