diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2011-06-20 20:34:55 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-06-21 11:24:27 -0400 |
commit | bfea3d6befdb688d5354e6f15a9400ea637febf9 (patch) | |
tree | cd3e47b246d6c7a734f6dd705f3db85902c77705 /protocol/wayland.xml | |
parent | aae9f214e5f0d8d1deac4816fe40f76b2cf84f55 (diff) |
Add more protocol for communicating screen geometry
Diffstat (limited to 'protocol/wayland.xml')
-rw-r--r-- | protocol/wayland.xml | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index bf21425..acaa706 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -469,12 +469,37 @@ published as global during start up, or when a screen is hot plugged. --> <interface name="wl_output" version="1"> - <!-- Notification about the screen size. --> + + <enum name="subpixel"> + <entry name="unknown" value="0"/> + <entry name="none" value="1"/> + <entry name="horizontal_rgb" value="2"/> + <entry name="horizontal_bgr" value="3"/> + <entry name="vertical_rgb" value="4"/> + <entry name="vertical_bgr" value="5"/> + </enum> + <event name="geometry"> <arg name="x" type="int"/> <arg name="y" type="int"/> + <arg name="physical_width" type="int"/> + <arg name="physical_height" type="int"/> + <arg name="subpixel" type="int"/> + <arg name="make" type="string"/> + <arg name="model" type="string"/> + </event> + + <!-- Values for the flags bitfield of the mode event. --> + <enum name="mode"> + <entry name="current" value="0x1"/> + <entry name="preferred" value="0x2"/> + </enum> + + <event name="mode"> + <arg name="flags" type="uint"/> <arg name="width" type="int"/> <arg name="height" type="int"/> + <arg name="refresh" type="int"/> </event> </interface> |