summaryrefslogtreecommitdiffstats
path: root/src/compositor/hardware_integration/xcomposite_share/protocol/wayland-xcomposite.xml
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-12-05 17:09:02 +0100
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-12-07 09:58:35 +0100
commit4c89518228012ddc3602eab405e4b5fb8108fcdf (patch)
tree615d4fdc38999e408d52998c39760064d223b652 /src/compositor/hardware_integration/xcomposite_share/protocol/wayland-xcomposite.xml
parent542eca71e074b5110df2aaf822449bf7d6ec2b91 (diff)
Make wayland actually a module
Also fix so that QtCompositor can be built as shared object. + fix so that the default QT_WAYLAND_GL_CONFIG is wayland_egl Change-Id: I02b72e99286584426bd37ab2d00bbc84af11efdc Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
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>