tizen_policy: allow null for parent parameter in set_parent_with_below 25/261825/2
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 27 Jul 2021 07:03:46 +0000 (16:03 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Tue, 27 Jul 2021 07:04:32 +0000 (16:04 +0900)
If parent parameter is null, then child removes the parent-child relationship.

Change-Id: I542f7a3053ccda53dfd8ccc019f42262b32ed861

protocol/tizen/tizen-extension.xml

index 5dbc7ed..0b5957a 100644 (file)
     <request name="set_parent_with_below" since="9">
       <description summary="set parent and place under the parent">
          This makes a relationship between parent and child. A child is always placed under a parent.
+         Setting a null parent for a child window removes any parent-child relationship for the child.
       </description>
       <arg name="child" type="object" interface="wl_surface" />
-      <arg name="parent" type="object" interface="wl_surface" />
+      <arg name="parent" type="object" interface="wl_surface" allow-null="true"/>
     </request>
   </interface>