all repos — openbox @ 3fb9753fa4a07d4b555dcf48aa59c97211ece4ef

openbox fork - make it a bit more like ryudo

proper height for shaded windows
Dana Jansens danakj@orodu.net
commit

3fb9753fa4a07d4b555dcf48aa59c97211ece4ef

parent

436c85576e99f4df81273f8b510a94605e676cab

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M engines/openbox/openbox.cengines/openbox/openbox.c

@@ -408,6 +408,7 @@ }

void frame_adjust_area(ObFrame *self, gboolean moved, gboolean resized) { + g_message("adjust_area: %d %d", moved, resized); if (resized) { if (self->frame.client->decorations & Decor_Border) { self->bwidth = s_bwidth;

@@ -511,7 +512,7 @@ /* shading can change without being moved or resized */

RECT_SET_SIZE(self->frame.area, self->frame.client->area.width + self->frame.size.left + self->frame.size.right, - (self->frame.client->shaded ? TITLE_HEIGHT : + (self->frame.client->shaded ? TITLE_HEIGHT + self->bwidth*2: self->frame.client->area.height + self->frame.size.top + self->frame.size.bottom));