Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-fps/quake2-icculus/files: quake2-icculus-0.16.1-x11_mouse.patch
Date: Fri, 06 Apr 2012 19:23:30
Message-Id: 20120406192315.688A72004C@flycatcher.gentoo.org
1 tupone 12/04/06 19:23:15
2
3 Added: quake2-icculus-0.16.1-x11_mouse.patch
4 Log:
5 Fix x11 mouse. Patch from bug #358955
6
7 (Portage version: 2.1.10.56/cvs/Linux i686)
8
9 Revision Changes Path
10 1.1 games-fps/quake2-icculus/files/quake2-icculus-0.16.1-x11_mouse.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-x11_mouse.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-x11_mouse.patch?rev=1.1&content-type=text/plain
14
15 Index: quake2-icculus-0.16.1-x11_mouse.patch
16 ===================================================================
17 --- src/linux/rw_x11.c.old 2012-04-06 20:51:11.545642465 +0200
18 +++ src/linux/rw_x11.c 2012-04-06 20:55:48.159425787 +0200
19 @@ -989,8 +989,8 @@
20 }
21 else
22 {
23 - mx -= ((int)event.xmotion.x + mwx)*2;
24 - my -= ((int)event.xmotion.y + mwy)*2;
25 + mx += ((int)event.xmotion.x - mwx)*2;
26 + my += ((int)event.xmotion.y - mwy)*2;
27 mwx = event.xmotion.x;
28 mwy = event.xmotion.y;