X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fresist.c;h=6ab82487aaba555ef97fac112435f53dad7c27af;hb=1b75005e0d86ef8f4a80ad4f1ecda1d7c2c55048;hp=1f0fc074896213280fe54e8db92aaceb76d44624;hpb=c4e4760c41f10aae6af19a4363cb247c71edee4b;p=chaz%2Fopenbox diff --git a/openbox/resist.c b/openbox/resist.c index 1f0fc074..6ab82487 100644 --- a/openbox/resist.c +++ b/openbox/resist.c @@ -1,4 +1,4 @@ -/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- +/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- resist.c for the Openbox window manager Copyright (c) 2003 Ben Jansens @@ -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