From fd2fe67592e3398c104aa94316ca710a368ede3a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 26 May 2007 15:22:18 +0000 Subject: [PATCH] +1 in the wrong place meant bad decorations --- openbox/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.39.2