diff options
author | marha <marha@users.sourceforge.net> | 2012-09-27 15:09:52 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-09-27 15:09:52 +0200 |
commit | 2cf1e3de4759264eac2fa8ac758ea750636542f8 (patch) | |
tree | 80298679c1f3134223c592ad3939739aee333eb8 /xorg-server/dix | |
parent | 0ebcd32e91486caccc041c8ca23e39e160b24702 (diff) | |
download | vcxsrv-2cf1e3de4759264eac2fa8ac758ea750636542f8.tar.gz vcxsrv-2cf1e3de4759264eac2fa8ac758ea750636542f8.tar.bz2 vcxsrv-2cf1e3de4759264eac2fa8ac758ea750636542f8.zip |
mesa xserver pixman xkeyboard-config git update 27 sep 2012
xserver 0b02150c27e98f996e10d7489f9f67a30e4e3497
pixman aff796d6cee4cb81f0352c2f7d0c994229bd5ca1
xkeyboard-config 33ccc8f4b3f1c6ae95242cf9cb19e8df87f6f37e
mesa 6d6aef79742ece3bb570ae44e6c13791aae15e01
Diffstat (limited to 'xorg-server/dix')
-rw-r--r-- | xorg-server/dix/getevents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/dix/getevents.c b/xorg-server/dix/getevents.c index 4e62507aa..71d83c4ba 100644 --- a/xorg-server/dix/getevents.c +++ b/xorg-server/dix/getevents.c @@ -896,9 +896,9 @@ scale_to_desktop(DeviceIntPtr dev, ValuatorMask *mask, /* scale x&y to desktop coordinates */ *screenx = rescaleValuatorAxis(x, dev->valuator->axes + 0, NULL, - screenInfo.x, screenInfo.width); + screenInfo.x, screenInfo.width - 1); *screeny = rescaleValuatorAxis(y, dev->valuator->axes + 1, NULL, - screenInfo.y, screenInfo.height); + screenInfo.y, screenInfo.height - 1); *devx = x; *devy = y; |