]> Dogcows Code - chaz/openbox/blobdiff - render/theme.c
a) remove the top_grip_height business from the theme
[chaz/openbox] / render / theme.c
index c31ca1121f812abfabdbf87bfe0569be08d7dfe2..4c38dbd2f8ad25f665649717e79ac5ff9b5f070a 100644 (file)
@@ -987,8 +987,6 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
     }
     theme->button_size = theme->label_height - 2;
     theme->grip_width = 25;
-    theme->top_grip_height = MAX(theme->handle_height,
-                                 theme->title_height / 4);
 
     return theme;
 }
@@ -1307,8 +1305,8 @@ static gboolean find_point(ParseState *ps, xmlNodePtr n, gchar *names[],
 {
     if ((n = find_node(n, names))) {
         gint a, b;
-        if (parse_attr_int("horizontal", n, &a) &&
-            parse_attr_int("vertical", n, &b) &&
+        if (parse_attr_int("x", n, &a) &&
+            parse_attr_int("y", n, &b) &&
             a >= lowx && a <= upx && b >= lowy && b <= upy)
         {
             *x = a; *y = b;
This page took 0.023915 seconds and 4 git commands to generate.