From: Dana Jansens Date: Wed, 9 Dec 2009 16:24:16 +0000 (-0500) Subject: Fully maximized windows still have a normal titlebar. Fixes bug #4373 X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fopenbox;a=commitdiff_plain;h=36af6f8d968eb53a836b9db1d64f007e3ffca271 Fully maximized windows still have a normal titlebar. Fixes bug #4373 Also, maximized windows were having their client padding reduced by the size of the outer border from this same bug, which is now fixed. --- diff --git a/openbox/frame.c b/openbox/frame.c index c1b31570..df53f3c2 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -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));