+1 in the wrong place meant bad decorations

This commit is contained in:
Dana Jansens 2007-05-26 15:22:18 +00:00
parent 7d164842e0
commit fd2fe67592

View file

@ -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 /* some elements are sized based of the width, so don't let them have
negative values */ negative values */
self->width = MAX(self->width, 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, STRUT_SET(self->size,
self->cbwidth_x + (!self->max_horz ? self->bwidth : 0), self->cbwidth_x + (!self->max_horz ? self->bwidth : 0),