- XMoveResizeWindow(ob_display, p->bg, x, y, w, h);
-
- /* set up the hilite texture for the background */
- p->a_bg->texture[0].data.rgba.width = rgbaw;
- p->a_bg->texture[0].data.rgba.height = rgbah;
- p->hilite_rgba = g_new(RrPixel32, rgbaw * rgbah);
- p->a_bg->texture[0].data.rgba.data = p->hilite_rgba;
-
- /* position the text, but don't draw it */
- XMoveResizeWindow(ob_display, p->text, textx, texty, textw, texth);
- p->a_text->surface.parentx = textx;
- p->a_text->surface.parenty = texty;
+ XMoveResizeWindow(obt_display, p->bg, x, y, w, h);
+
+ /* set up the hilite texture for the icon */
+ p->a_icon->texture[0].data.rgba.width = ICON_SIZE;
+ p->a_icon->texture[0].data.rgba.height = ICON_SIZE;
+ p->a_icon->texture[0].data.rgba.alpha = 0xff;
+ p->hilite_rgba = g_new(RrPixel32, ICON_SIZE * ICON_SIZE);
+ p->a_icon->texture[0].data.rgba.data = p->hilite_rgba;