diff options
author | marha <marha@users.sourceforge.net> | 2012-01-26 09:27:48 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-01-26 09:27:48 +0100 |
commit | d99165260070ce9668f3eeac8bb010393f490c0a (patch) | |
tree | afdd34a5707eee117c9827aeb8bb5237cc9d14fa /xorg-server/hw/xwin/winmouse.c | |
parent | 5283d47a3bf49ffbf972465908f1e30aa6698509 (diff) | |
download | vcxsrv-d99165260070ce9668f3eeac8bb010393f490c0a.tar.gz vcxsrv-d99165260070ce9668f3eeac8bb010393f490c0a.tar.bz2 vcxsrv-d99165260070ce9668f3eeac8bb010393f490c0a.zip |
turn on -emulate3buttons if less than 3 mouse buttons are reported
Added -noemulate3buttons
Diffstat (limited to 'xorg-server/hw/xwin/winmouse.c')
-rw-r--r-- | xorg-server/hw/xwin/winmouse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winmouse.c b/xorg-server/hw/xwin/winmouse.c index 75e51c2f9..9debead0d 100644 --- a/xorg-server/hw/xwin/winmouse.c +++ b/xorg-server/hw/xwin/winmouse.c @@ -71,6 +71,7 @@ winMouseProc (DeviceIntPtr pDeviceInt, int iState) case DEVICE_INIT: /* Get number of mouse buttons */ lngMouseButtons = GetSystemMetrics(SM_CMOUSEBUTTONS); + winDebug("%d mouse buttons found\n", lngMouseButtons); /* Mapping of windows events to X events: * LEFT:1 MIDDLE:2 RIGHT:3 @@ -81,7 +82,6 @@ winMouseProc (DeviceIntPtr pDeviceInt, int iState) */ if (lngMouseButtons < 3) lngMouseButtons = 3; - winDebug("%d mouse buttons found\n", lngMouseButtons); /* allocate memory: * number of buttons + 2x mouse wheel event + 1 extra (offset for map) |