summaryrefslogtreecommitdiffstats
path: root/src/qt-compositor/hardware_integration/xcomposite_share/protocol/wayland-xcomposite.xml
blob: 7d68d64a00e84795186543cb3f067e7869981de8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>