x11: fix undefined behavior when copying the coordinates of ptr movements actions
authorRan Benita <ran234@gmail.com>
Sat, 18 Aug 2018 11:28:15 +0000 (14:28 +0300)
committerRan Benita <ran234@gmail.com>
Sat, 18 Aug 2018 11:58:03 +0000 (14:58 +0300)
commita9ace75f6492304a59ae7b192b05f241e2694764
treeeee4b296d8b3815e7f351ca11d236a2a44499aa5
parentf8134c8503c9868d65ee6e06b211ec2eaff3f60d
x11: fix undefined behavior when copying the coordinates of ptr movements actions

Left shift of a negative integer. For some reason the protocol
representation here got really botched (in the spec it is just a nice
and simple INT16).

Signed-off-by: Ran Benita <ran234@gmail.com>
meson.build
src/x11/keymap.c