X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenuframe.c;h=654cf2ba611932012f62394b10950a2ef8093758;hb=22a17d3a28603637cf9259d050c19e8090d7ab2f;hp=813354cdb03b29b385f024c70411315f7f7fafec;hpb=c4eaa943852c770d09034258ba40ccc07516d2f6;p=chaz%2Fopenbox diff --git a/openbox/menuframe.c b/openbox/menuframe.c index 813354cd..654cf2ba 100644 --- a/openbox/menuframe.c +++ b/openbox/menuframe.c @@ -499,8 +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.alpha = + self->entry->data.normal.icon_alpha; self->a_icon->texture[0].data.rgba.data = self->entry->data.normal.icon_data; self->a_icon->surface.parent = item_a;