From b3c5f5435ad8bdf69cd5b0cc23c8b3217c39ba5c Mon Sep 17 00:00:00 2001 From: "garbeam@gmail.com" Date: Sun, 10 Jul 2011 21:18:50 +0100 Subject: removed unneeded offset recalculation, thanks Jukka, let's see if this breaks some other client --- dwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dwm.c') diff --git a/dwm.c b/dwm.c index ba00afeb..a0ab1263 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; -- cgit v1.2.3