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/xfree86 | |
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/xfree86')
-rw-r--r-- | xorg-server/hw/xfree86/common/xf86Events.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xorg-server/hw/xfree86/common/xf86Events.c b/xorg-server/hw/xfree86/common/xf86Events.c index 9d3a58f91..87555f31f 100644 --- a/xorg-server/hw/xfree86/common/xf86Events.c +++ b/xorg-server/hw/xfree86/common/xf86Events.c @@ -372,8 +372,6 @@ xf86PrintBacktrace(void) xorg_backtrace();
}
-#define KeyPressed(k) (keyc->postdown[k >> 3] & (1 << (k & 7)))
-
static void
xf86ReleaseKeys(DeviceIntPtr pDev)
{
@@ -399,7 +397,7 @@ xf86ReleaseKeys(DeviceIntPtr pDev) for (i = keyc->xkbInfo->desc->min_key_code;
i < keyc->xkbInfo->desc->max_key_code;
i++) {
- if (KeyPressed(i)) {
+ if (key_is_down(pDev, i, KEY_POSTED)) {
sigstate = xf86BlockSIGIO ();
nevents = GetKeyboardEvents(xf86Events, pDev, KeyRelease, i);
for (j = 0; j < nevents; j++)
|