]> Dogcows Code - chaz/openbox/blobdiff - render/theme.c
don't place windows over docks. but let them place over menus and toolbars. i guess...
[chaz/openbox] / render / theme.c
index f3f7e5f4883690e974ff276decd1105ec7fc4522..313f834c51653990f9f20688459118e213075392 100644 (file)
@@ -1476,10 +1476,13 @@ static void parse_style(gchar *tex, RrSurfaceColorType *grad,
 
     if (strstr(tex, "sunken") != NULL)
         *relief = RR_RELIEF_SUNKEN;
-    else if ((strstr(tex, "flat") != NULL) || (*grad == RR_SURFACE_PARENTREL))
+    else if (strstr(tex, "flat") != NULL)
         *relief = RR_RELIEF_FLAT;
-    else
+    else if (strstr(tex, "raised") != NULL)
         *relief = RR_RELIEF_RAISED;
+    else
+        *relief = (*grad == RR_SURFACE_PARENTREL) ?
+                  RR_RELIEF_FLAT : RR_RELIEF_RAISED;
 
     *border = FALSE;
     if (*relief == RR_RELIEF_FLAT) {
This page took 0.020049 seconds and 4 git commands to generate.