]> granicus.if.org Git - graphviz/commit
xlib plugin handle_xlib_events: squash -Wsign-conversion warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 30 Mar 2022 15:17:43 +0000 (08:17 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 2 Apr 2022 19:55:48 +0000 (12:55 -0700)
commit10811c76655bae0c2c99c4206e4e8b5c4176ef17
tree10bc2d73b5f13b605c4a61e9cd7e666525372582
parentb057ff424346f4c45ba2e5b41188f317166f4a66
xlib plugin handle_xlib_events: squash -Wsign-conversion warnings

The Xlib API¹ claims to only return buttons 1-5.

¹ See the table in
  https://www.x.org/releases/X11R7.7/doc/libX11/libX11/libX11.html#Keyboard_and_Pointer_Events_b
plugin/xlib/gvdevice_xlib.c