]> Dogcows Code - chaz/openbox/blobdiff - engines/openbox/obrender.c
move the themes
[chaz/openbox] / engines / openbox / obrender.c
index c765ef761e2fdde8d73b345d94e936629d39ad53..00272080eabadc776b40ff9d05df9e569c7608f5 100644 (file)
@@ -203,14 +203,14 @@ static void obrender_close(ObFrame *self, Appearance *a)
     paint(self->close, a);
 }
 
-void render_label(Window win, Rect *area, char *text,
+void render_label(Window win, Size *sz, char *text,
                   gboolean hilight, gboolean toplevel)
 {
     Appearance *a;
 
     a = hilight ? ob_app_hilite_label : ob_app_unhilite_label;
     a->texture[0].data.text.string = text;
-    RECT_SET(a->area, 0, 0, area->width, area->height);
+    RECT_SET(a->area, 0, 0, sz->width, sz->height);
     a->texture[0].position = a->area;
 
     if (toplevel) {
This page took 0.025138 seconds and 4 git commands to generate.