diff options
Diffstat (limited to 'hw/dmx/input')
-rw-r--r-- | hw/dmx/input/dmxevents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/dmx/input/dmxevents.c b/hw/dmx/input/dmxevents.c index 528e968e3..e7c382be5 100644 --- a/hw/dmx/input/dmxevents.c +++ b/hw/dmx/input/dmxevents.c @@ -778,9 +778,9 @@ int dmxCheckSpecialKeys(DevicePtr pDev, KeySym keySym) unsigned short state = 0; if (dmxLocal->sendsCore) - state = dmxLocalCoreKeyboard->pDevice->key->state; + state = XkbStateFieldFromRec(&dmxLocalCoreKeyboard->pDevice->key->xkbInfo->state); else if (dmxLocal->pDevice->key) - state = dmxLocal->pDevice->key->state; + state = XkbStateFieldFromRec(&dmxLocal->pDevice->key->xkbInfo->state); if (!dmxLocal->sendsCore) return 0; /* Only for core devices */ |