aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winmouse.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/winmouse.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/winmouse.c')
-rw-r--r--xorg-server/hw/xwin/winmouse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/hw/xwin/winmouse.c b/xorg-server/hw/xwin/winmouse.c
index c5069d630..1280e6b05 100644
--- a/xorg-server/hw/xwin/winmouse.c
+++ b/xorg-server/hw/xwin/winmouse.c
@@ -250,7 +250,7 @@ winMouseButtonsSendEvent (int iEventType, int iButton)
POINTER_RELATIVE, 0, 0, NULL);
for (i = 0; i < nevents; i++)
- mieqEnqueue(g_pwinPointer, (InternalEvent*)(events + i)->event);
+ mieqEnqueue(g_pwinPointer, (InternalEvent*)events[i].event);
winDebug("winMouseButtonsSendEvent: iEventType: %d, iButton: %d, nEvents %d\n",
iEventType, iButton, nevents);
@@ -381,5 +381,5 @@ void winEnqueueMotion(int x, int y)
POINTER_ABSOLUTE | POINTER_SCREEN, 0, 2, valuators);
for (i = 0; i < nevents; i++)
- mieqEnqueue(g_pwinPointer, (InternalEvent*)(events + i)->event);
+ mieqEnqueue(g_pwinPointer, (InternalEvent*)events[i].event);
}