diff options
author | marha <marha@users.sourceforge.net> | 2010-07-07 09:37:20 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-07-07 09:37:20 +0000 |
commit | 3dd9390c49402534bc391f621a6b0f497a9407f7 (patch) | |
tree | bc5cd4665a525dbc9550292ad393fa0e5590c4a1 /xorg-server/hw/xnest/Keyboard.c | |
parent | a31abc5ff6da849ed1ac579a1c905d16ffaafcc7 (diff) | |
parent | 5da15e274b35656568f59602f2e3fd00d5718879 (diff) | |
download | vcxsrv-3dd9390c49402534bc391f621a6b0f497a9407f7.tar.gz vcxsrv-3dd9390c49402534bc391f621a6b0f497a9407f7.tar.bz2 vcxsrv-3dd9390c49402534bc391f621a6b0f497a9407f7.zip |
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/hw/xnest/Keyboard.c')
-rw-r--r-- | xorg-server/hw/xnest/Keyboard.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/xorg-server/hw/xnest/Keyboard.c b/xorg-server/hw/xnest/Keyboard.c index 473724a04..9dba46ccd 100644 --- a/xorg-server/hw/xnest/Keyboard.c +++ b/xorg-server/hw/xnest/Keyboard.c @@ -231,13 +231,7 @@ xnestUpdateModifierState(unsigned int state) for (key = 0; key < MAP_LENGTH; key++)
if (keyc->xkbInfo->desc->map->modmap[key] & mask) {
- int bit;
- BYTE *kptr;
-
- kptr = &keyc->down[key >> 3];
- bit = 1 << (key & 7);
-
- if (*kptr & bit)
+ if (key_is_down(pDev, key, KEY_PROCESSED))
xnestQueueKeyEvent(KeyRelease, key);
if (--count == 0)
|