Used xcompmgr as a starting point, and mostly rewrote everything. Unlike xcompmgr this is also a window manager.