From: Pekka Paalanen Date: Thu, 24 Nov 2011 14:19:03 +0000 (+0200) Subject: protocol: introduce wl_shell_surface X-Git-Tag: 0.85.0~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=42eed3235a8349ac2139bb9a06cb8ac294872809;p=profile%2Fivi%2Fwayland.git protocol: introduce wl_shell_surface Requests like 'move' and 'set_toplevel' are really methods of a surface, not methods of a global shell object. Move all these methods to a new interface, wl_shell_surface. The global object wl_shell will contain only 'get_shell_surface' request, which creates and associates a wl_shell_surface object to a given wl_surface object. This will also give the shell plugin (if you look at the demo compositor) means to store per-surface private data in a natural way. Due to a limitation in delete_id event handling on client side, the client must destroy its wl_shell_surface object before destroying the wl_surface object. Otherwise it may just leak an id. Signed-off-by: Pekka Paalanen --- diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 51a83ef..b80f25e 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -267,8 +267,19 @@ - + + + + + + + + @@ -286,7 +297,6 @@ - @@ -294,9 +304,7 @@ - - - + - - + @@ -322,9 +329,7 @@ fullscreen? what if there's already a fullscreen surface on the output, maybe you can only go fullscreen if you're active? --> - - - +