This allows the shell to inform the surface that it has changed state, current supported states are default, minimized, maximized and fullscreen. The shell implementation is free to interpret the meaning for the state, i.e. the minimized might not always mean that the surface is fully hidden for example.
Signed-off-by: Mikko Levonmaa <mikko.levon...@lge.com> --- protocol/wayland.xml | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 3bce022..ee7d32d 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -874,6 +874,21 @@ to the client owning the popup surface. </description> </event> + + <enum name="state"> + <entry name="default" value="0"/> + <entry name="minimized" value="1"/> + <entry name="maximized" value="2"/> + <entry name="fullscreen" value="4"/> + </enum> + + <event name="state_changed"> + <description summary="The surface state was changed"> + The compositor or the user has taken action that has resulted in + this surface to change state. + </description> + <arg name="state" type="uint"/> + </event> </interface> <interface name="wl_surface" version="2"> -- 1.7.4.1 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel