diff mbox series

qapi/ui: Fix documentation of upper bound value in InputMoveEvent

Message ID 20250116104433.12114-1-zhangboyang.id@gmail.com (mailing list archive)
State New
Headers show
Series qapi/ui: Fix documentation of upper bound value in InputMoveEvent | expand

Commit Message

Zhang Boyang Jan. 16, 2025, 10:44 a.m. UTC
The upper bound of pointer position in InputMoveEvent should be 0x7fff,
according to INPUT_EVENT_ABS_MAX.

Signed-off-by: Zhang Boyang <zhangboyang.id@gmail.com>
---
 qapi/ui.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Zhang Boyang Jan. 16, 2025, 12:43 p.m. UTC | #1
On 2025/1/16 20:40, Markus Armbruster wrote:
> Zhang Boyang <zhangboyang.id@gmail.com> writes:
> 
>> The upper bound of pointer position in InputMoveEvent should be 0x7fff,
>> according to INPUT_EVENT_ABS_MAX.
>>
>> Signed-off-by: Zhang Boyang <zhangboyang.id@gmail.com>
>> ---
>>   qapi/ui.json | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/qapi/ui.json b/qapi/ui.json
>> index 460a26b981..7b18662018 100644
>> --- a/qapi/ui.json
>> +++ b/qapi/ui.json
>> @@ -1133,7 +1133,7 @@
>>   # @axis: Which axis is referenced by @value.
>>   #
>>   # @value: Pointer position.  For absolute coordinates the valid range
>> -#     is 0 -> 0x7ffff
>> +#     is 0 -> 0x7fff
> 
> Opportunity to replace "->" by "to" or "..".  If you agree, I'll squash
> that into your patch in my tree.
> 

OK, Thank you :)

Zhang Boyang

>>   #
>>   # Since: 2.0
>>   ##
> 
> Acked-by: Markus Armbruster <armbru@redhat.com>
>
Markus Armbruster Jan. 16, 2025, 1:51 p.m. UTC | #2
Zhang Boyang <zhangboyang.id@gmail.com> writes:

> On 2025/1/16 20:40, Markus Armbruster wrote:
>> Zhang Boyang <zhangboyang.id@gmail.com> writes:
>> 
>>> The upper bound of pointer position in InputMoveEvent should be 0x7fff,
>>> according to INPUT_EVENT_ABS_MAX.
>>>
>>> Signed-off-by: Zhang Boyang <zhangboyang.id@gmail.com>
>>> ---
>>>   qapi/ui.json | 2 +-
>>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/qapi/ui.json b/qapi/ui.json
>>> index 460a26b981..7b18662018 100644
>>> --- a/qapi/ui.json
>>> +++ b/qapi/ui.json
>>> @@ -1133,7 +1133,7 @@
>>>   # @axis: Which axis is referenced by @value.
>>>   #
>>>   # @value: Pointer position.  For absolute coordinates the valid range
>>> -#     is 0 -> 0x7ffff
>>> +#     is 0 -> 0x7fff
>>
>> Opportunity to replace "->" by "to" or "..".  If you agree, I'll squash
>> that into your patch in my tree.
>> 
>
> OK, Thank you :)
>
> Zhang Boyang

Queued.  Thanks!

[...]
diff mbox series

Patch

diff --git a/qapi/ui.json b/qapi/ui.json
index 460a26b981..7b18662018 100644
--- a/qapi/ui.json
+++ b/qapi/ui.json
@@ -1133,7 +1133,7 @@ 
 # @axis: Which axis is referenced by @value.
 #
 # @value: Pointer position.  For absolute coordinates the valid range
-#     is 0 -> 0x7ffff
+#     is 0 -> 0x7fff
 #
 # Since: 2.0
 ##