<arg name="angle" type="int" summary="current angle of surface"/>
</event>
- <!-- for snap type -->
- <enum name="snap_type">
- <entry name="none" value="0" summary="no snap"/>
- <entry name="left" value="1" summary="the left side of the screen"/>
- <entry name="right" value="2" summary="the right side of the screen"/>
- <entry name="top" value="3" summary="the top of the screen"/>
- <entry name="bottom" value="4" summary="the bottom of the screen"/>
- </enum>
-
- <request name="snap_window" since="12">
- <description summary="snap window">
- Snap the window to the location (such as the side of the screen) where you want it to be.
- </description>
- <arg name="surface" type="object" interface="wl_surface" summary="surface object"/>
- <arg name="type" type="uint" enum="snap_type" summary="snap type"/>
- </request>
-
<!-- for maximize direction -->
<enum name="maximize_direction">
<entry name="none" value="0" summary="none. same to unmaximize"/>