-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
840 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<protocol name="mutter_x11_interop"> | ||
<description summary="X11 interoperability helper"> | ||
This protocol is intended to be used by the portal backend to map Wayland | ||
dialogs as modal dialogs on top of X11 windows. | ||
</description> | ||
|
||
<interface name="mutter_x11_interop" version="1"> | ||
<description summary="X11 interoperability helper"/> | ||
|
||
<request name="destroy" type="destructor"/> | ||
|
||
<request name="set_x11_parent"> | ||
<arg name="surface" type="object" interface="wl_surface"/> | ||
<arg name="xwindow" type="uint"/> | ||
</request> | ||
</interface> | ||
</protocol> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!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 | ||
--> | ||
<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> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<!DOCTYPE node PUBLIC | ||
'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN' | ||
'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'> | ||
<node> | ||
|
||
<!-- | ||
org.gnome.Shell.Introspect: | ||
@short_description: Introspection interface | ||
The interface used to introspect the state of Shell, such as running | ||
applications, currently active application, etc. | ||
--> | ||
<interface name="org.gnome.Shell.Introspect"> | ||
|
||
<!-- | ||
RunningApplicationsChanged: | ||
@short_description: Notifies when the running applications changes | ||
--> | ||
<signal name="RunningApplicationsChanged" /> | ||
|
||
<!-- | ||
WindowsChanged: | ||
@short_description: Notifies when any window opens or closes | ||
--> | ||
<signal name="WindowsChanged" /> | ||
|
||
<!-- | ||
GetRunningApplications: | ||
@short_description: Retrieves the description of all running applications | ||
Each application is associated by an application ID. The details of | ||
each application consists of a varlist of keys and values. Available | ||
keys are listed below. | ||
'active-on-seats' - (as) list of seats the application is active on | ||
(a seat only has at most one active | ||
application) | ||
--> | ||
<method name="GetRunningApplications"> | ||
<arg name="apps" direction="out" type="a{sa{sv}}" /> | ||
</method> | ||
|
||
<!-- | ||
GetWindows: | ||
@short_description: Retrieves the current list of windows and their properties | ||
A window is exposed as: | ||
* t ID: unique ID of the window | ||
* a{sv} properties: high-level properties | ||
Known properties: | ||
- "title" (s): (readonly) title of the window | ||
- "app-id" (s): (readonly) application ID of the window | ||
- "wm-class" (s): (readonly) class of the window | ||
- "client-type" (u): (readonly) 0 for Wayland, 1 for X11 | ||
- "is-hidden" (b): (readonly) if the window is currently hidden | ||
- "has-focus" (b): (readonly) if the window currently have | ||
keyboard focus | ||
- "width" (u): (readonly) width of the window | ||
- "height" (u): (readonly) height of the window | ||
--> | ||
<method name="GetWindows"> | ||
<arg name="windows" direction="out" type="a{ta{sv}}" /> | ||
</method> | ||
|
||
<!-- | ||
AnimationsEnabled: | ||
@short_description: Whether the shell animations are enabled | ||
By default determined by the org.gnome.desktop.interface enable-animations | ||
gsetting, but may be overridden, e.g. if there is an active screen cast or | ||
remote desktop session that asked for animations to be disabled. | ||
Since: 2 | ||
--> | ||
<property name="AnimationsEnabled" type="b" access="read"/> | ||
|
||
<!-- | ||
ScreenSize: | ||
@short_description: The size of the screen | ||
Since: 3 | ||
--> | ||
<property name="ScreenSize" type="(ii)" access="read"/> | ||
|
||
<property name="version" type="u" access="read"/> | ||
</interface> | ||
</node> |
Oops, something went wrong.