]> Dogcows Code - chaz/openbox/blobdiff - render/theme.c
get the mouse pointer position if it is on another screen too.
[chaz/openbox] / render / theme.c
index 28a682b5f22b2a49bfcf431c40128619c23f0f19..a60fc7b1218d1d3ef24d1cc4e418d98d96fb6f9a 100644 (file)
@@ -1204,9 +1204,10 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
            MAX(theme->padding * 2, ut + ub));
         */
         theme->title_height = theme->label_height + theme->paddingy * 2;
-        /* this should match the above title_height given the same font size
-           for both. */
-        theme->menu_title_height = theme->menu_title_font_height +
+
+        RrMargins(theme->a_menu_title, &ul, &ut, &ur, &ub);
+        theme->menu_title_label_height = theme->menu_title_font_height+ut+ub;
+        theme->menu_title_height = theme->menu_title_label_height +
             theme->paddingy * 2;
     }
     theme->button_size = theme->label_height - 2;
This page took 0.022459 seconds and 4 git commands to generate.