]> Dogcows Code - chaz/openbox/commitdiff
menus were too short by a border width
authorDana Jansens <danakj@orodu.net>
Tue, 24 Jun 2003 19:22:41 +0000 (19:22 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 24 Jun 2003 19:22:41 +0000 (19:22 +0000)
openbox/menu_render.c

index 73a539e868ce68fc73af81020eaf8be2fa5ae2f4..87ffa9136061e44e86c47700a475df452cf0d70a 100644 (file)
@@ -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,
This page took 0.025731 seconds and 4 git commands to generate.