[gnome-remote-desktop] remote-desktop: Synchronize remote desktop API with API in mutter



commit b328d9394443085590505bdcd9b811c51d9d1829
Author: Pascal Nowack <Pascal Nowack gmx de>
Date:   Tue Nov 3 13:08:07 2020 +0100

    remote-desktop: Synchronize remote desktop API with API in mutter
    
    The remote desktop API in mutter gained several new API methods while
    the remote desktop API in gnome-remote-desktop hasn't been updated yet.
    
    So, synchronize the current changes by updating the associated xml file
    where the API methods are created from.

 src/org.gnome.Mutter.RemoteDesktop.xml | 99 +++++++++++++++++++++++++++++++++-
 1 file changed, 98 insertions(+), 1 deletion(-)
---
diff --git a/src/org.gnome.Mutter.RemoteDesktop.xml b/src/org.gnome.Mutter.RemoteDesktop.xml
index 4ed736b..d93413f 100644
--- a/src/org.gnome.Mutter.RemoteDesktop.xml
+++ b/src/org.gnome.Mutter.RemoteDesktop.xml
@@ -6,17 +6,38 @@
   <!--
       org.gnome.Mutter.RemoteDesktop:
       @short_description: Remote desktop interface
+
+      This API is private and not intended to be used outside of the integrated
+      system that uses libmutter. No compatibility between versions are
+      promised.
   -->
   <interface name="org.gnome.Mutter.RemoteDesktop">
 
     <!--
        CreateSession:
-       @session: Path to the new session object
+       @session_path: Path to the new session object
     -->
     <method name="CreateSession">
       <arg name="session_path" type="o" direction="out" />
     </method>
 
+    <!--
+       SupportedDeviceTypes:
+       @short_description: Bit mask of supported device types
+
+       Device types:
+         1: keyboard
+         2: pointer
+         4: touchscreen
+    -->
+    <property name="SupportedDeviceTypes" type="u" access="read" />
+
+    <!--
+       Version:
+       @short_description: API version
+    -->
+    <property name="Version" type="i" access="read" />
+
   </interface>
 
   <!--
@@ -57,6 +78,16 @@
     -->
     <signal name="Closed" />
 
+    <!--
+       NotifyKeyboardKeycode:
+
+       A key identified by a keysym was pressed or released
+     -->
+    <method name="NotifyKeyboardKeycode">
+      <arg name="keycode" type="u" direction="in" />
+      <arg name="state" type="b" direction="in" />
+    </method>
+
     <!--
        NotifyKeyboardKeysym:
 
@@ -77,6 +108,29 @@
       <arg name="state" type="b" direction="in" />
     </method>
 
+    <!--
+       NotifyPointerAxis:
+
+       A smooth pointer axis event notification
+
+       Possible @flags:
+         1: finish - scroll motion was finished (e.g. fingers lifted)
+         2: source_wheel - The scroll event is originated by a mouse wheel.
+         4: source_finger - The scroll event is originated by one or more fingers on
+                            the device (eg. touchpads).
+         8: source_continuous - The scroll event is originated by the motion of some
+                                 device (eg. a scroll button is set).
+
+         Maximum one of the @flags 'source_wheel', 'source_finger',
+         'source_continuous' may be specified.
+         If no source flag is specified, `source_finger` is assumed.
+     -->
+    <method name="NotifyPointerAxis">
+      <arg name="dx" type="d" direction="in" />
+      <arg name="dy" type="d" direction="in" />
+      <arg name="flags" type="u" direction="in" />
+    </method>
+
     <!--
        NotifyPointerAxisDiscrete:
 
@@ -87,6 +141,16 @@
       <arg name="steps" type="i" direction="in" />
     </method>
 
+    <!--
+       NotifyPointerMotionRelative:
+
+       A relative pointer motion event notification
+     -->
+    <method name="NotifyPointerMotionRelative">
+      <arg name="dx" type="d" direction="in" />
+      <arg name="dy" type="d" direction="in" />
+    </method>
+
     <!--
        NotifyPointerMotionAbsolute:
 
@@ -98,6 +162,39 @@
       <arg name="y" type="d" direction="in" />
     </method>
 
+    <!--
+       NotifyTouchDown:
+
+       A absolute pointer motion event notification
+     -->
+    <method name="NotifyTouchDown">
+      <arg name="stream" type="s" direction="in" />
+      <arg name="slot" type="u" direction="in" />
+      <arg name="x" type="d" direction="in" />
+      <arg name="y" type="d" direction="in" />
+    </method>
+
+    <!--
+       NotifyTouchMotion:
+
+       A absolute pointer motion event notification
+     -->
+    <method name="NotifyTouchMotion">
+      <arg name="stream" type="s" direction="in" />
+      <arg name="slot" type="u" direction="in" />
+      <arg name="x" type="d" direction="in" />
+      <arg name="y" type="d" direction="in" />
+    </method>
+
+    <!--
+       NotifyTouchUp:
+
+       A absolute pointer motion event notification
+     -->
+    <method name="NotifyTouchUp">
+      <arg name="slot" type="u" direction="in" />
+    </method>
+
   </interface>
 
 </node>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]