all repos — openbox @ b61a41c6b12a181d70b9976080fde6accf558218

openbox fork - make it a bit more like ryudo

menus were too short by a border width
Dana Jansens danakj@orodu.net
commit

b61a41c6b12a181d70b9976080fde6accf558218

parent

6dd3ee7271d1c90de8f516e32263f2da7caac4b3

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

jump to
M openbox/menu_render.copenbox/menu_render.c

@@ -80,7 +80,7 @@ self->item_h += ob_rr_theme->bevel * 2;

items_h = self->item_h * MAX(nitems, 1); XResizeWindow(ob_display, self->frame, self->size.width, - MAX(self->title_h + items_h, 1)); + MAX(self->title_h + items_h + ob_rr_theme->bwidth, 1)); if (self->label) XMoveResizeWindow(ob_display, self->title, -ob_rr_theme->bwidth, -ob_rr_theme->bwidth,