mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
make sure to take bwdith into account when placing a new window.
ok oga@
This commit is contained in:
parent
48528d9ba1
commit
72bc2a295b
5
client.c
5
client.c
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user