tizen_policy: support set_maximize_direction 46/283246/2
authorDoyoun Kang <doyoun.kang@samsung.com>
Fri, 21 Oct 2022 01:28:08 +0000 (10:28 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Fri, 21 Oct 2022 01:56:55 +0000 (10:56 +0900)
Change-Id: I21f652665bf2e33bdb256116ab0d15af2805717a

protocol/tizen/tizen-extension.xml

index 1fe908f..94fd5d2 100644 (file)
       <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"/>
+      <entry name="all" value="1" summary="the full size of the screen"/>
+      <entry name="left" value="2" summary="the left side of the screen"/>
+      <entry name="right" value="3" summary="the right side of the screen"/>
+      <entry name="top" value="4" summary="the top of the screen"/>
+      <entry name="bottom" value="5" summary="the bottom of the screen"/>
+    </enum>
+
+    <request name="set_maximize_direction" since="12">
+      <description summary="set maximize direction">
+         Set the maximize direction of the surface.
+      </description>
+      <arg name="surface" type="object" interface="wl_surface" summary="surface object"/>
+      <arg name="direction" type="uint" enum="maximize_direction" summary="maximize direction"/>
+    </request>
+
   </interface>
 
   <interface name="tizen_visibility" version="5">