]> Dogcows Code - chaz/openbox/blobdiff - openbox/menuframe.c
api cleanups for render/theme.h
[chaz/openbox] / openbox / menuframe.c
index 212a8d9ab6da9925dc18ed61defd4cee10ce4083..5c502d84553e06b14c5489c408281b87a848eca6 100644 (file)
@@ -401,7 +401,7 @@ static void menu_frame_render(ObMenuFrame *self)
         tw = MIN(tw, MAX_MENU_WIDTH) + ob_rr_theme->padding * 2;
         w = MAX(w, tw);
 
-        th = ob_rr_theme->mtitlefont_height + ob_rr_theme->padding * 2;
+        th = ob_rr_theme->menu_title_height;
         h += (self->title_h = th + ob_rr_theme->bwidth);
 
         XSetWindowBorderWidth(ob_display, self->title, ob_rr_theme->bwidth);
This page took 0.02295 seconds and 4 git commands to generate.