</event>
</interface>
- <interface name="tizen_policy" version="11">
+ <interface name="tizen_policy" version="12">
<request name="get_visibility">
<arg name="id" type="new_id" interface="tizen_visibility" summary="new visibility object"/>
<arg name="surface" type="object" interface="wl_surface" summary="surface object"/>
<arg name="w" type="uint" summary="width after resize"/>
<arg name="h" type="uint" summary="height after resize"/>
</event>
+
+ <!-- for snap type -->
+ <enum name="snap_type">
+ <entry name="left" value="0" summary="the left side of the screen"/>
+ <entry name="right" value="1" summary="the right side of the screen"/>
+ <entry name="top" value="2" summary="the top of the screen"/>
+ <entry name="bottom" value="3" 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"/>
+ </request>
</interface>
<interface name="tizen_visibility" version="5">