From: Dana Jansens Date: Tue, 24 Jun 2003 19:22:41 +0000 (+0000) Subject: menus were too short by a border width X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b61a41c6b12a181d70b9976080fde6accf558218;p=chaz%2Fopenbox menus were too short by a border width --- diff --git a/openbox/menu_render.c b/openbox/menu_render.c index 73a539e8..87ffa913 100644 --- a/openbox/menu_render.c +++ b/openbox/menu_render.c @@ -80,7 +80,7 @@ void menu_render_full(Menu *self) { 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,