File: org.gnome.Mutter.ServiceChannel.xml

package info (click to toggle)
mutter 49.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,732 kB
  • sloc: ansic: 397,916; xml: 3,384; python: 3,270; sh: 389; ruby: 167; makefile: 61; javascript: 26
file content (44 lines) | stat: -rw-r--r-- 1,580 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE node PUBLIC
'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
<node>

  <interface name="org.gnome.Mutter.ServiceChannel">

    <!--
        ServiceClientTypes:
           PORTAL_BACKEND: 1
           FILECHOOSER_PORTAL_BACKEND: 2
           GLOBAL_SHORTCUTS_PORTAL_BACKEND: 3
    -->
    <method name="OpenWaylandServiceConnection">
      <arg name="service_client_type" type="u" direction="in" />
      <annotation name="org.gtk.GDBus.C.UnixFD" value="true"/>
      <arg name="fd" type="h" direction="out" />
    </method>

    <!--
        OpenWaylandConnection:
        @options: Dictionary of options for the Wayland connection
        @fd: File descriptor for the new Wayland connection

        Creates a new Wayland client connection and returns a file descriptor
        that can be used to communicate with the Wayland compositor.

        The options vardict supports the following keys:
        - "window-tag" (s): Optional string tag to associate with windows
                           created by this Wayland client. This tag can be
                           used for identification and management purposes.

        If the compositor is not running in Wayland mode, this method will
        fail with a NOT_SUPPORTED error.
    -->
    <method name="OpenWaylandConnection">
      <arg name="options" type="a{sv}" direction="in" />
      <annotation name="org.gtk.GDBus.C.UnixFD" value="true"/>
      <arg name="fd" type="h" direction="out" />
    </method>

  </interface>

</node>