[PATCH] wip: per-pixel surface picking

Bill Spitzak spitzak at gmail.com
Thu Feb 9 13:43:12 PST 2012


I feel that a better solution is for the compositor to send any event in 
the surface rectangle to the client, but the client is allowed to 
respond with a "that is in the transparent area", in which case the 
compositor sends it to a lower surface.

The client certainly knows what shape it's surface is and the fastest 
way to test if the pointer is inside it.

I very much do not like requiring clients to send great gobs of data to 
the compositor. That is exactly what is wrong with current window systems.

Tiago Vignatti wrote:
> This is an unfinished work and I won't have time to deal with it next.
> 
> My intention was to come up with a protocol for applications specify the
> effective shape of their windows.


More information about the wayland-devel mailing list