aboutsummaryrefslogtreecommitdiff
path: root/monsterwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'monsterwm.c')
-rw-r--r--monsterwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monsterwm.c b/monsterwm.c
index 64cfbb1..1c94c02 100644
--- a/monsterwm.c
+++ b/monsterwm.c
@@ -618,7 +618,7 @@ void tile(void) {
ch = rows ? (sh-y)/rows : sh;
cx = 0 + cn*cw;
cy = y + rn*ch;
- XMoveResizeWindow(dis, c->win, cx, cy, cw, ch);
+ XMoveResizeWindow(dis, c->win, cx, cy, cw - 2*BORDER_WIDTH, ch - 2*BORDER_WIDTH);
rn++;
if(rn >= rows) {
rn = 0;