ttake bar into account - dwm - [fork] customized build of dwm, the dynamic wind… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 6bdef73a4f0c2a96f8984ddc10b55f1d753ab5fe | |
parent 234b12eb73f5c6de3da4eb93cac2159e73647529 | |
Author: Anselm R Garbe <[email protected]> | |
Date: Mon, 19 May 2008 17:27:30 +0100 | |
ttake bar into account | |
Diffstat: | |
M dwm.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -963,7 +963,7 @@ manage(Window w, XWindowAttributes *wa) { | |
if(c->y + c->h + 2 * c->bw > sy + sh) | |
c->y = sy + sh - c->h - 2 * c->bw; | |
c->x = MAX(c->x, sx); | |
- c->y = MAX(c->y, sy); | |
+ c->y = MAX(c->y, by == 0 ? bh : sy); | |
c->bw = borderpx; | |
} | |