mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-26 06:59:58 -05:00
protocol: Use signed int for scale values
We usually use signed ints for things like this, to avoid issues C sign coersion.
This commit is contained in:
parent
d68c7d8aed
commit
e782dbecbc
1 changed files with 2 additions and 2 deletions
|
|
@ -1155,7 +1155,7 @@
|
||||||
a buffer that is larger (by a factor of scale in each dimension)
|
a buffer that is larger (by a factor of scale in each dimension)
|
||||||
than the desired surface size.
|
than the desired surface size.
|
||||||
</description>
|
</description>
|
||||||
<arg name="scale" type="uint"/>
|
<arg name="scale" type="int"/>
|
||||||
</request>
|
</request>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
|
|
@ -1652,7 +1652,7 @@
|
||||||
avoid scaling the surface, and the client can supply
|
avoid scaling the surface, and the client can supply
|
||||||
a higher detail image.
|
a higher detail image.
|
||||||
</description>
|
</description>
|
||||||
<arg name="factor" type="uint" summary="scaling factor of output"/>
|
<arg name="factor" type="int" summary="scaling factor of output"/>
|
||||||
</event>
|
</event>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue