]> Dogcows Code - chaz/openbox/blobdiff - openbox/menuframe.c
put an alpha channel in the rgba texture
[chaz/openbox] / openbox / menuframe.c
index b908ad4ff0a6be146562d62a0265c0c6ef24d26f..813354cdb03b29b385f024c70411315f7f7fafec 100644 (file)
@@ -499,6 +499,8 @@ static void menu_entry_frame_render(ObMenuEntryFrame *self)
             self->entry->data.normal.icon_width;
         self->a_icon->texture[0].data.rgba.height =
             self->entry->data.normal.icon_height;
+        /* XXX determine this from iconic window */
+        self->a_icon->texture[0].data.rgba.width = 0xff;
         self->a_icon->texture[0].data.rgba.data =
             self->entry->data.normal.icon_data;
         self->a_icon->surface.parent = item_a;
This page took 0.021664 seconds and 4 git commands to generate.