]> Dogcows Code - chaz/openbox/blobdiff - render/render.c
scary commit..but here goes.
[chaz/openbox] / render / render.c
index fd95469c87019be80afc503d7c04ca3b94778882..669761d574038c488180c5988839399938bdd0cb 100644 (file)
@@ -348,9 +348,12 @@ void RrMinsize(RrAppearance *a, gint *w, gint *h)
             break;
         case RR_TEXTURE_TEXT:
             m = RrFontMeasureString(a->texture[i].data.text.font,
-                                    a->texture[i].data.text.string);
+                                    a->texture[i].data.text.string, 
+                                    a->texture[i].data.text.shadow_offset_x,
+                                    a->texture[i].data.text.shadow_offset_y);
             *w = MAX(*w, m->width + 4);
-            m->height = RrFontHeight(a->texture[i].data.text.font);
+            m->height = RrFontHeight(a->texture[i].data.text.font,
+                                     a->texture[i].data.text.shadow_offset_y);
             *h += MAX(*h, m->height);
             g_free(m);
             break;
This page took 0.020249 seconds and 4 git commands to generate.