aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/kdrive/ephyr
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-07-07 06:21:38 +0000
committermarha <marha@users.sourceforge.net>2010-07-07 06:21:38 +0000
commit5da15e274b35656568f59602f2e3fd00d5718879 (patch)
treefd10e6e7f99de6769eaef050a63de8e2d55d638d /xorg-server/hw/kdrive/ephyr
parent1888d52b15666fb0fe1d47c329d92335e6d9157f (diff)
downloadvcxsrv-5da15e274b35656568f59602f2e3fd00d5718879.tar.gz
vcxsrv-5da15e274b35656568f59602f2e3fd00d5718879.tar.bz2
vcxsrv-5da15e274b35656568f59602f2e3fd00d5718879.zip
git update 7/7/2010
Diffstat (limited to 'xorg-server/hw/kdrive/ephyr')
-rw-r--r--xorg-server/hw/kdrive/ephyr/ephyr.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/xorg-server/hw/kdrive/ephyr/ephyr.c b/xorg-server/hw/kdrive/ephyr/ephyr.c
index 315f68340..5dfde07f6 100644
--- a/xorg-server/hw/kdrive/ephyr/ephyr.c
+++ b/xorg-server/hw/kdrive/ephyr/ephyr.c
@@ -776,13 +776,7 @@ ephyrUpdateModifierState(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))
KdEnqueueKeyboardEvent (ephyrKbd, key, TRUE);
if (--count == 0)