diff options
author | marha <marha@users.sourceforge.net> | 2010-07-07 06:21:38 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-07-07 06:21:38 +0000 |
commit | 5da15e274b35656568f59602f2e3fd00d5718879 (patch) | |
tree | fd10e6e7f99de6769eaef050a63de8e2d55d638d /xorg-server/hw/xnest | |
parent | 1888d52b15666fb0fe1d47c329d92335e6d9157f (diff) | |
download | vcxsrv-5da15e274b35656568f59602f2e3fd00d5718879.tar.gz vcxsrv-5da15e274b35656568f59602f2e3fd00d5718879.tar.bz2 vcxsrv-5da15e274b35656568f59602f2e3fd00d5718879.zip |
git update 7/7/2010
Diffstat (limited to 'xorg-server/hw/xnest')
-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)
|