]> Dogcows Code - chaz/openbox/commitdiff
Fully maximized windows still have a normal titlebar. Fixes bug #4373
authorDana Jansens <danakj@orodu.net>
Wed, 9 Dec 2009 16:24:16 +0000 (11:24 -0500)
committerDana Jansens <danakj@orodu.net>
Wed, 9 Dec 2009 16:24:16 +0000 (11:24 -0500)
Also, maximized windows were having their client padding reduced by the size of
the outer border from this same bug, which is now fixed.

openbox/frame.c

index c1b3157077b55b9d1a31637690c3a50eed50423e..df53f3c2e0b2f92fe50072244e5ca8f6dc3014ac 100644 (file)
@@ -370,8 +370,7 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
 
         STRUT_SET(self->size,
                   self->cbwidth_l + (!self->max_horz ? self->bwidth : 0),
-                  self->cbwidth_t +
-                  (!self->max_horz || !self->max_vert ? self->bwidth : 0),
+                  self->cbwidth_t + self->bwidth,
                   self->cbwidth_r + (!self->max_horz ? self->bwidth : 0),
                   self->cbwidth_b +
                   (!self->max_horz || !self->max_vert ? self->bwidth : 0));
This page took 0.028636 seconds and 4 git commands to generate.