diff options
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/listdev.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Xi/listdev.c b/Xi/listdev.c index 13e5ca729..91e8f2254 100644 --- a/Xi/listdev.c +++ b/Xi/listdev.c @@ -241,6 +241,10 @@ CopySwapDevice(register ClientPtr client, DeviceIntPtr d, int num_classes, dev->use = IsXKeyboard; else if (d == inputInfo.pointer) dev->use = IsXPointer; + else if (d->key && d->kbdfeed) + dev->use = IsXExtensionKeyboard; + else if (d->valuator && d->button) + dev->use = IsXExtensionPointer; else dev->use = IsXExtensionDevice; if (client->swapped) { |