make sure to take bwdith into account when placing a new window.

ok oga@
This commit is contained in:
okan 2008-05-23 18:57:35 +00:00
parent 48528d9ba1
commit 72bc2a295b

View File

@ -665,9 +665,8 @@ client_placecalc(struct client_ctx *cc)
height = cc->geom.height; height = cc->geom.height;
width = cc->geom.width; width = cc->geom.width;
yslack = sc->ymax - cc->geom.height - cc->bwidth;
yslack = sc->ymax - cc->geom.height; xslack = sc->xmax - cc->geom.width - cc->bwidth;
xslack = sc->xmax - cc->geom.width;
xu_ptr_getpos(sc->rootwin, &mousex, &mousey); xu_ptr_getpos(sc->rootwin, &mousex, &mousey);