summaryrefslogtreecommitdiffstats
path: root/src/compositor/hardware_integration/xcomposite_share/protocol/wayland-xcomposite.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/hardware_integration/xcomposite_share/protocol/wayland-xcomposite.xml')
-rw-r--r--src/compositor/hardware_integration/xcomposite_share/protocol/wayland-xcomposite.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/compositor/hardware_integration/xcomposite_share/protocol/wayland-xcomposite.xml b/src/compositor/hardware_integration/xcomposite_share/protocol/wayland-xcomposite.xml
new file mode 100644
index 000000000..7d68d64a0
--- /dev/null
+++ b/src/compositor/hardware_integration/xcomposite_share/protocol/wayland-xcomposite.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<protocol name="xcomposite">
+ <!-- XComposite support. This object is created by the server and published
+ using the display's global event. -->
+ <interface name="wl_xcomposite" version="1">
+
+ <!-- Create a wayland buffer for X Window. -->
+ <request name="create_buffer">
+ <arg name="id" type="new_id" interface="wl_buffer"/>
+ <arg name="x_window" type="uint"/>
+ <arg name="width" type="int"/>
+ <arg name="height" type="int"/>
+ </request>
+
+ <!-- Notification of the root window to use for the X Window created
+ on the client side. Also passes in the Display name to use -->
+ <event name="root">
+ <arg name="display_name" type="string"/>
+ <arg name="root_window" type="uint"/>
+ </event>
+
+ </interface>
+
+</protocol>