Displaying 2 results from an estimated 2 matches for "oldaddwindowgeometry".
2007 Jan 26
2
Get window textures even when they're transformed.
If I wobble a window and quickly initiate switcher or cube, this can
cause 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 = ge...
2007 Jan 08
6
Thumbnail plugin
Hi,
With some help from Quinn_Storm, iXce, maniac103, mikedee and
KristianLy :), I've managed to modify switcher.c and make a new plugin:
thumbnail.
The plugin shows thumbnails of windows when cursor is moved over a task
button in taskbar.
Screenshot:
http://pix.nofrag.com/b0/7a/051d45e25bfffed09eeb9b00e383.jpeg
Download: