Fix for pid and surface handling.
[staging/HomeScreen.git] / interfaces / windowmanager.xml
index 67187ac..c15ca2c 100644 (file)
                        <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList&lt;int&gt;"/>
                </method>
 
+               <!--
+                 getAllSurfacesOfProcess:
+                 @pid: The PID of the process.
+                 @surfaceIds: A list of surfaces that were created by the process.
+
+                 The surface IDs can be used to assign them to a layout render area.
+               -->
+               <method name="getAllSurfacesOfProcess">
+                       <arg name="pid" type="i" direction="in"/>
+                       <arg name="layoutIds" type="ai" direction="out"/>
+                       <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList&lt;int&gt;"/>
+               </method>
+
                <!--
                  setSurfaceToLayoutArea:
                  @surfaceId: The ID of the surface that shall be positioned.
                        <arg name="surfaceIds" type="a(i)" direction="out"/>
                        <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList&lt;int&gt;"/> 
                </method>
-
-               <!--
-                 homeScreenPid:
-                 The PID of the Home Screen app. The Home Screen app requires a special handling.
-                 It will always be visible in the background. So it will be placed in a special layer at the lowest z-order.
-               -->
-               <property name="homeScreenPid" type="i" access="readwrite"/>
        </interface>
 </node>