[PATCH 06/17] dix: copy the source ID into the RawEvent (#34240)
Peter Hutterer
peter.hutterer at who-t.net
Sun Aug 7 23:21:02 PDT 2011
X.Org Bug 34240 <http://bugs.freedesktop.org/show_bug.cgi?id=34240>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Daniel Stone <daniel at fooishbar.org>
---
dix/eventconvert.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dix/eventconvert.c b/dix/eventconvert.c
index 024f2e8..e47348c 100644
--- a/dix/eventconvert.c
+++ b/dix/eventconvert.c
@@ -665,6 +665,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;
ptr = (char*)&raw[1];
--
1.7.6
More information about the xorg-devel
mailing list