From: Dana Jansens Date: Sat, 26 May 2007 15:22:18 +0000 (+0000) Subject: +1 in the wrong place meant bad decorations X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=fd2fe67592e3398c104aa94316ca710a368ede3a;p=chaz%2Fopenbox +1 in the wrong place meant bad decorations --- diff --git a/openbox/frame.c b/openbox/frame.c index f3425ba3..1ca7727f 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -356,7 +356,7 @@ void frame_adjust_area(ObFrame *self, gboolean moved, /* some elements are sized based of the width, so don't let them have negative values */ self->width = MAX(self->width, - (ob_rr_theme->grip_width + self->bwidth) * 2) + 1; + (ob_rr_theme->grip_width + self->bwidth) * 2 + 1); STRUT_SET(self->size, self->cbwidth_x + (!self->max_horz ? self->bwidth : 0),