]> Dogcows Code - chaz/openbox/blobdiff - render/theme.c
Added include_menu.c as an example of how one could write a plugin.
[chaz/openbox] / render / theme.c
index 29f0663ccb26b53c12fa91723b5557ecdafc507f..a7da009b01488af135a906e5d4c61236f1a27740 100644 (file)
@@ -135,6 +135,9 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
     theme->title_layout = g_strdup(font_str);
 
     /* load direct dimensions */
+    if (!read_int(db, "menuOverlap", &theme->menu_overlap) ||
+       theme->menu_overlap < 0 || theme->menu_overlap > 20)
+        theme->handle_height = 0;
     if (!read_int(db, "handleWidth", &theme->handle_height) ||
        theme->handle_height < 0 || theme->handle_height > 100)
         theme->handle_height = 6;
This page took 0.02075 seconds and 4 git commands to generate.