]> Dogcows Code - chaz/openbox/commitdiff
+1 in the wrong place meant bad decorations
authorDana Jansens <danakj@orodu.net>
Sat, 26 May 2007 15:22:18 +0000 (15:22 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 26 May 2007 15:22:18 +0000 (15:22 +0000)
openbox/frame.c

index f3425ba3a840d386128980e61af597e75bbf5788..1ca7727f50565b16f828681a3bac380cf4753a39 100644 (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
            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),
This page took 0.028554 seconds and 4 git commands to generate.