From 4db3db2b38d8eb9024170633d3bf7c5050272dd0 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 14 Feb 2011 08:48:07 +1000 Subject: Mark sourceid in Raw events as bug and force to 0.. The protocol does not provide a source ID for raw events, so this value is always 0. It shouldn't really be there, but the past is so hard to change. Reported-by: Mark Dokter Signed-off-by: Peter Hutterer --- include/X11/extensions/XInput2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h index e6c7b30..3fcf083 100644 --- a/include/X11/extensions/XInput2.h +++ b/include/X11/extensions/XInput2.h @@ -242,7 +242,7 @@ typedef struct { int evtype; /* XI_RawKeyPress, XI_RawKeyRelease, etc. */ Time time; int deviceid; - int sourceid; + int sourceid; /* Bug: Always 0. https://bugs.freedesktop.org//show_bug.cgi?id=34240 */ int detail; int flags; XIValuatorState valuators; -- cgit v1.2.1