diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-07 19:43:11 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-17 11:21:19 +1000 |
commit | 01241b4247a7ad0974d48412cc0d88e1a09a3c49 (patch) | |
tree | 3fd720e63810c091d4253fc6082153a38b7f30fd /xkb | |
parent | d230742ea820a21a3f1ed0c58b5e6d8680b2f2aa (diff) |
Xi: Add support for sourceid in the device classes.
Diffstat (limited to 'xkb')
-rw-r--r-- | xkb/xkbInit.c | 1 |
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) { |