X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fresist.c;h=6ab82487aaba555ef97fac112435f53dad7c27af;hb=0aa7f70d91245d4a523c625d978063675ffc3ac7;hp=b1e04ccade8c608e064f95755d71b3bf9b76e6c1;hpb=16f46c296d1fcd3f27fc62a18e71c55fb3fd3e88;p=chaz%2Fopenbox 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