summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-09 11:24:16 -0500
committerDana Jansens <danakj@orodu.net>2009-12-09 11:24:16 -0500
commit36af6f8d968eb53a836b9db1d64f007e3ffca271 (patch)
treeeab1c913dd5f428a820583de49ab0c01d6b04704 /openbox
parentd95355ce5830d8e3377729c0a264c5823ca9a06d (diff)
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.
Diffstat (limited to 'openbox')
-rw-r--r--openbox/frame.c3
1 files changed, 1 insertions, 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));