[Question] Z-order management in Wayland

Bill Spitzak spitzak at gmail.com
Thu Jul 31 15:44:40 PDT 2014


On 07/31/2014 03:21 PM, Carsten Haitzler (The Rasterman) wrote:

>> Wait a second, how is click-to-raise being done?
>
> not by the client - by the compositor. the client has no control over that.

That does not work. The client has to be able to decide whether a mouse 
click will raise the window.

The most obvious thing that does not work is drag & drop.

It makes it impossible for a click to both raise the window and create a 
floating window without blinking.

And unless something MUCH more complicated than the current parent in 
xdg_shell is used, it makes multiple-window software impossible. At 
least a full Directed Acyclic Graph of multiple parents for every 
surface is needed, though I really suspect an entire interpreted 
language is needed to describe window stacking.

This has to be fixed or you are violating the "every frame is perfect" 
design criteria for Wayland.


More information about the wayland-devel mailing list