aboutsummaryrefslogtreecommitdiff
path: root/games/warsow/files
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2006-06-29 09:07:17 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2006-06-29 09:07:17 +0000
commitf9d671cff068987a2930510f4a9ad7866daa100c (patch)
tree3fa22bca7776e6e2b405fbca86da0959e7d110b6 /games/warsow/files
parent9d9ba9300a98d05470b1b5a4067c4c11c022e5a3 (diff)
downloadports-f9d671cff068987a2930510f4a9ad7866daa100c.tar.gz
ports-f9d671cff068987a2930510f4a9ad7866daa100c.zip
Notes
Diffstat (limited to 'games/warsow/files')
-rw-r--r--games/warsow/files/patch-linux+in_x11.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/warsow/files/patch-linux+in_x11.c b/games/warsow/files/patch-linux+in_x11.c
new file mode 100644
index 000000000000..d57a3569922c
--- /dev/null
+++ b/games/warsow/files/patch-linux+in_x11.c
@@ -0,0 +1,15 @@
+--- linux/in_x11.c.orig Thu Jun 29 12:26:46 2006
++++ linux/in_x11.c Thu Jun 29 11:55:06 2006
+@@ -589,10 +589,8 @@
+ }
+ else
+ {
+- mx = -((int)event.xmotion.x - mwx);// * 2;
+- my = -((int)event.xmotion.y - mwy);// * 2;
+- mwx = event.xmotion.x;
+- mwy = event.xmotion.y;
++ mx += ((int)event.xmotion.x - mwx);
++ my += ((int)event.xmotion.y - mwy);
+
+ if (mx || my)
+ dowarp = qtrue;