diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2006-06-29 09:07:17 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2006-06-29 09:07:17 +0000 |
commit | f9d671cff068987a2930510f4a9ad7866daa100c (patch) | |
tree | 3fa22bca7776e6e2b405fbca86da0959e7d110b6 /games/warsow/files | |
parent | 9d9ba9300a98d05470b1b5a4067c4c11c022e5a3 (diff) | |
download | ports-f9d671cff068987a2930510f4a9ad7866daa100c.tar.gz ports-f9d671cff068987a2930510f4a9ad7866daa100c.zip |
Notes
Diffstat (limited to 'games/warsow/files')
-rw-r--r-- | games/warsow/files/patch-linux+in_x11.c | 15 |
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; |