Transparency

aviv bergman bergmana@barak-online.net
Tue, 10 Feb 2004 13:31:00 +0200


On Sunday 08 February 2004 03:24, Keith Packard wrote:
> One thing that would be nice to have is a simple library which managed to
> track the server window hierarchy on the client side from the sequence of
> events; everyone using Composite is going to need that information, and
> duplicating the code in multiple places seems like a bad idea.  That
> wouldn't require anything beyond regular Xlib to get working.  Having
> something well tested and debugged would be a huge benefit before
> attempting to build a compositing manager; xcompmgr suffered (and may well
> still suffer) from broken window tracking.  All you need to manage is a
> sorted list of windows, each containing their geometry.  Simple in
> concept; a bit tricky in practice.

i belive that the gtk drag & drop code does exactly that (so it won't have to 
query the window hierarchy on every move)
take a look at gdkdnd-x11.c: gdk_window_cache_new

aviv