summaryrefslogtreecommitdiffstats
path: root/protocol
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2013-05-24 13:08:41 +0200
committerKristian Høgsberg <krh@bitplanet.net>2013-05-28 15:27:36 -0400
commite782dbecbc3b53684a78c8c5175e0571cfc3e119 (patch)
treee7b84b3c033cb9768194807b26aa634e34e3c7f6 /protocol
parentprotocol: Support scaled outputs and surfaces (diff)
downloadwayland-e782dbecbc3b53684a78c8c5175e0571cfc3e119.tar
wayland-e782dbecbc3b53684a78c8c5175e0571cfc3e119.tar.gz
wayland-e782dbecbc3b53684a78c8c5175e0571cfc3e119.tar.bz2
wayland-e782dbecbc3b53684a78c8c5175e0571cfc3e119.tar.lz
wayland-e782dbecbc3b53684a78c8c5175e0571cfc3e119.tar.xz
wayland-e782dbecbc3b53684a78c8c5175e0571cfc3e119.tar.zst
wayland-e782dbecbc3b53684a78c8c5175e0571cfc3e119.zip
protocol: Use signed int for scale values
We usually use signed ints for things like this, to avoid issues C sign coersion.
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index acfb140..0c7c053 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -1155,7 +1155,7 @@
a buffer that is larger (by a factor of scale in each dimension)
than the desired surface size.
</description>
- <arg name="scale" type="uint"/>
+ <arg name="scale" type="int"/>
</request>
</interface>
@@ -1652,7 +1652,7 @@
avoid scaling the surface, and the client can supply
a higher detail image.
</description>
- <arg name="factor" type="uint" summary="scaling factor of output"/>
+ <arg name="factor" type="int" summary="scaling factor of output"/>
</event>
</interface>