dix: make DeviceEvent coordinates signed for Xinerama. #24986
authorChris Humbert <freedesktop@mahadri.com>
Fri, 7 May 2010 07:02:43 +0000 (17:02 +1000)
committerKeith Packard <keithp@keithp.com>
Fri, 7 May 2010 19:17:22 +0000 (12:17 -0700)
commit21ed660f30a3f96c787ab00a16499e0fb034b2ad
tree00b36248e4da4c50759a7b06faf89533eac04e4d
parent9802839d35aaf788790f1d0e8300db4693a70096
dix: make DeviceEvent coordinates signed for Xinerama. #24986

With Xinerama enabled, event coordinates are relative to Screen 0, so
they can be negative.  The new DeviceEvent's coordinates are of type
uint16_t, making screens above and to the left of Screen 0 unusable.

X.Org Bug 24986 <https://bugs.freedesktop.org/show_bug.cgi?id=24986>

Signed-off-by: Chris Humbert <freedesktop@mahadri.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
include/eventstr.h