[PATCH 1/2] Add to output protocol to allow rotate/resize
Casey Dahlin
cdahlin at redhat.com
Thu Apr 28 23:56:09 PDT 2011
Adds some parameters to the output geometry event. Also adds a move method to
change those parameters.
---
protocol/wayland.xml | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 11976fa..187e961 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -446,12 +446,21 @@
published as global during start up, or when a screen is hot
plugged. -->
<interface name="wl_output" version="1">
- <!-- Notification about the screen size. -->
+ <!-- Move or rotate this output's area -->
+ <request name="move">
+ <arg name="x" type="int"/>
+ <arg name="y" type="int"/>
+ <arg name="transform_flags" type="uint"/>
+ </request>
+
+ <!-- Notification about the screen size, rotation, and applied
+ transformations. -->
<event name="geometry">
<arg name="x" type="int"/>
<arg name="y" type="int"/>
- <arg name="width" type="int"/>
- <arg name="height" type="int"/>
+ <arg name="transform_flags" type="uint"/>
+ <arg name="width" type="uint"/>
+ <arg name="height" type="uint"/>
</event>
</interface>
--
1.7.5
More information about the wayland-devel
mailing list