summaryrefslogtreecommitdiff
path: root/openbox/resist.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-18 05:23:13 +0000
committerDana Jansens <danakj@orodu.net>2003-09-18 05:23:13 +0000
commit5da2b67298d8671c5885f7526bb112dd5c8eb38b (patch)
tree8cecbb6bcf604238e6814fbff57fd61c28d2321a /openbox/resist.c
parent186824fc13aa0aaa114ed4aaa9e05ad8377b3507 (diff)
off by one error
Diffstat (limited to 'openbox/resist.c')
-rw-r--r--openbox/resist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/resist.c b/openbox/resist.c
index b1e04cca..6ab82487 100644
--- a/openbox/resist.c
+++ b/openbox/resist.c
@@ -59,8 +59,8 @@ void resist_move_windows(ObClient *c, gint *x, gint *y)
tl = RECT_LEFT(target->frame->area) - 1;
tt = RECT_TOP(target->frame->area) - 1;
- tr = RECT_RIGHT(target->frame->area)+ 2;
- tb = RECT_BOTTOM(target->frame->area) + 2;
+ tr = RECT_RIGHT(target->frame->area) + 1;
+ tb = RECT_BOTTOM(target->frame->area) + 1;
/* snapx and snapy ensure that the window snaps to the top-most
window edge available, without going all the way from