]> Dogcows Code - chaz/openbox/commitdiff
off by one error
authorDana Jansens <danakj@orodu.net>
Thu, 18 Sep 2003 05:23:13 +0000 (05:23 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 18 Sep 2003 05:23:13 +0000 (05:23 +0000)
openbox/resist.c

index b1e04ccade8c608e064f95755d71b3bf9b76e6c1..6ab82487aaba555ef97fac112435f53dad7c27af 100644 (file)
@@ -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
This page took 0.027724 seconds and 4 git commands to generate.