aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winmouse.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-28 08:09:17 +0000
committermarha <marha@users.sourceforge.net>2009-09-28 08:09:17 +0000
commit1f7d7f73b06b5add892a284bf563e3f01a60df52 (patch)
tree8ee80ff731e2eab418f4b7e1dc05173215ffac86 /xorg-server/hw/xwin/winmouse.c
parent47989aafe4f7ac855d8969da28e1e0222dfe8f2b (diff)
downloadvcxsrv-1f7d7f73b06b5add892a284bf563e3f01a60df52.tar.gz
vcxsrv-1f7d7f73b06b5add892a284bf563e3f01a60df52.tar.bz2
vcxsrv-1f7d7f73b06b5add892a284bf563e3f01a60df52.zip
Removed most tracing in release versions.
Diffstat (limited to 'xorg-server/hw/xwin/winmouse.c')
-rw-r--r--xorg-server/hw/xwin/winmouse.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/xorg-server/hw/xwin/winmouse.c b/xorg-server/hw/xwin/winmouse.c
index 3c7b46d6c..51ca3c5c6 100644
--- a/xorg-server/hw/xwin/winmouse.c
+++ b/xorg-server/hw/xwin/winmouse.c
@@ -95,7 +95,7 @@ winMouseProc (DeviceIntPtr pDeviceInt, int iState)
*/
if (lngMouseButtons < 3)
lngMouseButtons = 3;
- winMsg(X_PROBED, "%d mouse buttons found\n", lngMouseButtons);
+ winDebug("%d mouse buttons found\n", lngMouseButtons);
/* allocate memory:
* number of buttons + 2x mouse wheel event + 1 extra (offset for map)
@@ -250,12 +250,10 @@ winMouseButtonsSendEvent (int iEventType, int iButton)
POINTER_RELATIVE, 0, 0, NULL);
for (i = 0; i < nevents; i++)
- mieqEnqueue(g_pwinPointer, events[i].event);
+ mieqEnqueue(g_pwinPointer, (InternalEvent*)(events + i)->event);
-#if CYGDEBUG
- ErrorF("winMouseButtonsSendEvent: iEventType: %d, iButton: %d, nEvents %d\n",
+ winDebug("winMouseButtonsSendEvent: iEventType: %d, iButton: %d, nEvents %d\n",
iEventType, iButton, nevents);
-#endif
}
@@ -384,5 +382,5 @@ void winEnqueueMotion(int x, int y)
POINTER_ABSOLUTE, 0, 2, valuators);
for (i = 0; i < nevents; i++)
- mieqEnqueue(g_pwinPointer, events[i].event);
+ mieqEnqueue(g_pwinPointer, (InternalEvent*)(events + i)->event);
}