diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-26 15:22:18 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-26 15:22:18 +0000 |
| commit | fd2fe67592e3398c104aa94316ca710a368ede3a (patch) | |
| tree | c7d7f17f968782be84626a669b66aeced219542c | |
| parent | 7d164842e0d0c3138401fad0dafc6f21bba0a04f (diff) | |
+1 in the wrong place meant bad decorations
| -rw-r--r-- | openbox/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
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), |
