tremoved unneeded offset recalculation, thanks Jukka, let's see if this breaks … | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b3c5f5435ad8bdf69cd5b0cc23c8b3217c39ba5c | |
parent a692bdcf2b71dd0f776402be7b99df511a8333e7 | |
Author: [email protected] <unknown> | |
Date: Sun, 10 Jul 2011 21:18:50 +0100 | |
removed unneeded offset recalculation, thanks Jukka, let's see if this breaks s… | |
Diffstat: | |
M dwm.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -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; |