summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-05-12 21:29:22 -0400
committerKristian Høgsberg <krh@bitplanet.net>2011-05-12 21:29:22 -0400
commit4bde293ff8109d55eeaee8732f5a6ee0c8cd4bd9 (patch)
tree9bc28fe4281feeb90758a2f6cfb28988da348287 /protocol
parent4453ba084aae5a00318b9dfdeda95e8eaa17494c (diff)
Add event to associate visuals with a pixel format token
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index afeaf9e..9d0a539 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -83,6 +83,17 @@
<request name="create_surface">
<arg name="id" type="new_id" interface="wl_surface"/>
</request>
+
+ <enum name="visual">
+ <entry name="argb32" value="0"/>
+ <entry name="premultiplied_argb32" value="1"/>
+ <entry name="xrgb32" value="2"/>
+ </enum>
+
+ <event name="token_visual">
+ <arg name="id" type="new_id" interface="wl_object"/>
+ <arg name="token" type="uint"/>
+ </event>
</interface>
<!-- Shared memory support -->