xf86-input-libinput: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 9 04:09:51 UTC 2024


 src/xf86libinput.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7c5635cd6f38d7bded1e4674da4c803e590844a5
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Wed Oct 9 14:02:44 2024 +1000

    Silence a compiler warning
    
    ../src/xf86libinput.c: In function ‘prop_draglock_set_pairs’:
    ../src/xf86libinput.c:5153:30: warning: comparison is always false due to limited range of data type [-Wtype-limits]
     5153 |                 if (pairs[i] > MAX_BUTTONS)
    
    MAX_BUTTONS is defined by the server so let's use a temporary local
    variable to silence the compiler.
    
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-libinput/-/merge_requests/61>



More information about the xorg-commit mailing list