aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winkeybd.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-02-28 19:34:41 +0000
committermarha <marha@users.sourceforge.net>2010-02-28 19:34:41 +0000
commitfedd99993946dd8fc22b60e3611e447f3b8092ca (patch)
treef1486f18c003876c504227d5c2fc602371524aba /xorg-server/hw/xwin/winkeybd.c
parent94399647b31b4d87cc009954dd213475993a9011 (diff)
parent1ad46cbf3a9963f3d6d8c687480a80d359ec15f8 (diff)
downloadvcxsrv-fedd99993946dd8fc22b60e3611e447f3b8092ca.tar.gz
vcxsrv-fedd99993946dd8fc22b60e3611e447f3b8092ca.tar.bz2
vcxsrv-fedd99993946dd8fc22b60e3611e447f3b8092ca.zip
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/hw/xwin/winkeybd.c')
-rw-r--r--xorg-server/hw/xwin/winkeybd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winkeybd.c b/xorg-server/hw/xwin/winkeybd.c
index ad5df404c..a339afa90 100644
--- a/xorg-server/hw/xwin/winkeybd.c
+++ b/xorg-server/hw/xwin/winkeybd.c
@@ -486,7 +486,7 @@ winSendKeyEvent (DWORD dwKey, Bool fDown)
nevents = GetKeyboardEvents(events, g_pwinKeyboard, fDown ? KeyPress : KeyRelease, dwKey + MIN_KEYCODE);
for (i = 0; i < nevents; i++)
- mieqEnqueue(g_pwinKeyboard, (InternalEvent*)(events + i)->event);
+ mieqEnqueue(g_pwinKeyboard, (InternalEvent*)events[i].event);
winDebug("winSendKeyEvent: dwKey: %d, fDown: %d, nEvents %d\n",
dwKey, fDown, nevents);