]> Dogcows Code - chaz/openbox/blobdiff - openbox/framerender.c
halfway through client changes but...
[chaz/openbox] / openbox / framerender.c
index 093260fbd3cdb252551b287d8136026dd20c63a8..a05ef6cfe6e071dd45b1b52ed0d12a50b0b904b5 100644 (file)
@@ -238,9 +238,9 @@ static void framerender_icon(ObFrame *self, RrAppearance *a)
     if (self->icon_x < 0) return;
 
     if (self->client->nicons) {
-        ObClientIcon *icon = client_icon(self->client,
-                                         ob_rr_theme->button_size + 2,
-                                         ob_rr_theme->button_size + 2);
+        const ObClientIcon *icon = client_icon(self->client,
+                                               ob_rr_theme->button_size + 2,
+                                               ob_rr_theme->button_size + 2);
         a->texture[0].type = RR_TEXTURE_RGBA;
         a->texture[0].data.rgba.width = icon->width;
         a->texture[0].data.rgba.height = icon->height;
This page took 0.023596 seconds and 4 git commands to generate.