From 72bc2a295bee9be28c3169f37c82000ae2a25f3b Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 23 May 2008 18:57:35 +0000 Subject: make sure to take bwdith into account when placing a new window. ok oga@ --- client.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client.c b/client.c index 5026ac6..0c5584d 100644 --- a/client.c +++ b/client.c @@ -665,9 +665,8 @@ client_placecalc(struct client_ctx *cc) height = cc->geom.height; width = cc->geom.width; - - yslack = sc->ymax - cc->geom.height; - xslack = sc->xmax - cc->geom.width; + yslack = sc->ymax - cc->geom.height - cc->bwidth; + xslack = sc->xmax - cc->geom.width - cc->bwidth; xu_ptr_getpos(sc->rootwin, &mousex, &mousey); -- cgit 1.4.1