Displaying 1 result from an estimated 1 matches for "compicon".
Did you mean:
compacton
2007 Jan 26
2
Get window textures even when they're transformed.
...ause weird artifacts.
I had a look at Beryl's switcher.c
In switchPaintThumb they use this:
static void
switchPaintThumb(...)
{
DrawWindowGeometryProc oldDrawWindowGeometry;
AddWindowGeometryProc oldAddWindowGeometry;
WindowPaintAttrib sAttrib = *attrib;
int wx, wy;
float width, height;
CompIcon *icon = NULL;
/* Wrap drawWindowGeometry to make sure the general
drawWindowGeometry function is used */
oldDrawWindowGeometry = w->screen->drawWindowGeometry;
w->screen->drawWindowGeometry = getBaseDrawWindowGeometry();
oldAddWindowGeometry = w->screen->addWindowGeometr...