summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-07-29 10:56:44 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-10-10 10:49:10 +1000
commitf4ca19ce3ab91a9c8ad9de60f7dc95466f21f589 (patch)
treed5b06d1a304cef7b2dcec98bb081ec02c95a6f63
parent765ef69295ddc473640c96f1b4f54e0b8bfc670e (diff)
dix: copy the source ID into the RawEvent (#34240)
X.Org Bug 34240 <http://bugs.freedesktop.org/show_bug.cgi?id=34240> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniel@fooishbar.org>
-rw-r--r--dix/eventconvert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dix/eventconvert.c b/dix/eventconvert.c
index f9aafa5d1..189cb85d0 100644
--- a/dix/eventconvert.c
+++ b/dix/eventconvert.c
@@ -667,6 +667,7 @@ eventToRawEvent(RawDeviceEvent *ev, xEvent **xi)
raw->length = bytes_to_int32(len - sizeof(xEvent));
raw->detail = ev->detail.button;
raw->deviceid = ev->deviceid;
+ raw->sourceid = ev->sourceid;
raw->valuators_len = vallen;
raw->flags = ev->flags;