[PATCH weston 4/5] Make use of new wl_cursors

Bill Spitzak spitzak at gmail.com
Wed Jul 25 14:37:47 PDT 2012


Kristian Høgsberg wrote:

> We added wl_shell_surface, because we had a lot
> of requests on wl_shell that went like: wl_shell.set_fullscreen(shell,
> surface), ie, took the shell and a surface, and in effect were surface
> requests.  So the wl_shell_surface is almost just protocol syntatic
> sugar, and I'm not always sure it actually makes things clearer.

That is very informative! I have to say I was pretty mystified by the 
wl_shell_surface object.

Though this implies that there can be more than one shell. Because if 
there is only one shell there is no need for that argument, and the api 
can just be "wl_shell.set_fullscreen(surface)".

What is the meaning of more than one shell? Or is there another reason 
for the shell argument?


More information about the wayland-devel mailing list