shells (Re: [PATCH weston 4/5] Make use of new wl_cursors)

Bill Spitzak spitzak at gmail.com
Thu Jul 26 12:37:01 PDT 2012



Pekka Paalanen wrote:

>> What is the meaning of more than one shell? Or is there another reason 
>> for the shell argument?
> 
> A shell does window management...

I think my question was misunderstood. What I meant was "What is the 
meaning of more than one shell SIMULTANEOUSLY".

If a wayland instance can only use one shell at a time, there should be 
no need for this shell argument or the shell_surface, as the only 
correct value is implicitly known.

The existence of these arguments (or of shell_surface) implies that 
wayland can simultaneously have more than one shell, which is the only 
reason a client has to be able to specify it.

It also is possible that the existence of shell_surface is only to 
categorize the methods in the stream api. However in that case I think 
it should be much easier to instantly transform between surface and 
shell_surface (ie they are the same id) and the complex rules about 
creation and deletion should not be needed.


More information about the wayland-devel mailing list