diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-03-31 01:02:23 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-03-31 01:02:23 +0300 |
commit | 7e95f610fccf1d0d9d10e530a98862d756f6aaa6 (patch) | |
tree | 8107828f5839ef98bf4b2300866ff261a32c2194 /app-emulation/wine/files/mousepatch.diff | |
parent | de6947fd89a044bc6278e079039571d3045cb9b1 (diff) |
new file: files/0001-dinput-Read-raw-relative-mouse-movements-from-dev.patch
new file: files/mousepatch.diff
new file: files/wine-1.1.15-configure-host.patch
new file: files/wine-1.1.15-winegcc.patch
new file: files/wine-1.1.4-install-fix.patch
new file: files/wine-gentoo-no-ssp.patch
#
Diffstat (limited to 'app-emulation/wine/files/mousepatch.diff')
-rw-r--r-- | app-emulation/wine/files/mousepatch.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-emulation/wine/files/mousepatch.diff b/app-emulation/wine/files/mousepatch.diff new file mode 100644 index 0000000..5cdd67d --- /dev/null +++ b/app-emulation/wine/files/mousepatch.diff @@ -0,0 +1,11 @@ +--- a/dlls/dinput/mouse.c ++++ b/dlls/dinput/mouse.c +@@ -330,7 +330,7 @@ static void dinput_mouse_hook( LPDIRECTINPUTDEVICE8A iface, WPARAM wparam, LPARA + } + + This->need_warp = This->warp_override != WARP_DISABLE && +- (pt.x || pt.y) && ++ (hook->pt.x<2 || hook->pt.y<2 || hook->pt.x>((2 * This->win_centerX)-2) || hook->pt.y>((2 * This->win_centerY)-2) ) && + (dwCoop & DISCL_EXCLUSIVE || This->warp_override == WARP_FORCE_ON); + break; + } |