diff options
author | okan <okan> | 2008-05-23 18:57:35 +0000 |
---|---|---|
committer | okan <okan> | 2008-05-23 18:57:35 +0000 |
commit | 72bc2a295bee9be28c3169f37c82000ae2a25f3b (patch) | |
tree | 0fa5e3ae60ca9469c8844a5451716c39741a7718 /client.c | |
parent | 48528d9ba1b2b2fb1b0a46d772d280827018a246 (diff) | |
download | cwm-72bc2a295bee9be28c3169f37c82000ae2a25f3b.tar.gz cwm-72bc2a295bee9be28c3169f37c82000ae2a25f3b.tar.xz cwm-72bc2a295bee9be28c3169f37c82000ae2a25f3b.zip |
make sure to take bwdith into account when placing a new window.
ok oga@
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 5 |
1 files 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); |