summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-07 19:43:11 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-17 11:21:19 +1000
commit01241b4247a7ad0974d48412cc0d88e1a09a3c49 (patch)
tree3fd720e63810c091d4253fc6082153a38b7f30fd /xkb
parentd230742ea820a21a3f1ed0c58b5e6d8680b2f2aa (diff)
Xi: Add support for sourceid in the device classes.
Diffstat (limited to 'xkb')
-rw-r--r--xkb/xkbInit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xkb/xkbInit.c b/xkb/xkbInit.c
index e707f7ad3..86a7a115b 100644
--- a/xkb/xkbInit.c
+++ b/xkb/xkbInit.c
@@ -522,6 +522,7 @@ InitKeyboardDeviceStruct(DeviceIntPtr dev, XkbRMLVOSet *rmlvo,
ErrorF("XKB: Failed to allocate key class\n");
return False;
}
+ dev->key->sourceid = dev->id;
dev->kbdfeed = xcalloc(1, sizeof(*dev->kbdfeed));
if (!dev->kbdfeed) {