From 36af6f8d968eb53a836b9db1d64f007e3ffca271 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 9 Dec 2009 11:24:16 -0500 Subject: [PATCH] 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. --- openbox/frame.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)); -- 2.44.0