aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-08-13 09:15:57 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-08-13 09:15:57 +0300
commit883763c17224c69094340d3abc2f9e4cb656966a (patch)
treec00a17f5b1283ff78cc8e8a9bc3e819c9c4a3049 /resources
parent9063a5dbdc0d4470dc1e13ce5749838e32af6a44 (diff)
downloadniri-883763c17224c69094340d3abc2f9e4cb656966a.tar.gz
niri-883763c17224c69094340d3abc2f9e4cb656966a.tar.bz2
niri-883763c17224c69094340d3abc2f9e4cb656966a.zip
Implement stub mutter-x11-interop
Allows xdp-gnome dialogs to work with X11 clients. Fixes https://github.com/YaLTeR/niri/issues/594
Diffstat (limited to 'resources')
-rw-r--r--resources/mutter-x11-interop.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/resources/mutter-x11-interop.xml b/resources/mutter-x11-interop.xml
new file mode 100644
index 00000000..ae5bccda
--- /dev/null
+++ b/resources/mutter-x11-interop.xml
@@ -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>