summaryrefslogtreecommitdiff
blob: b4a7dcc2eb94e3981bbf531a541de678e1351e45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/linux/rw_x11.c.old	2012-04-06 20:51:11.545642465 +0200
+++ src/linux/rw_x11.c	2012-04-06 20:55:48.159425787 +0200
@@ -989,8 +989,8 @@
 	} 
 	else 
 	  {
-	    mx -= ((int)event.xmotion.x + mwx)*2;
-	    my -= ((int)event.xmotion.y + mwy)*2;
+	    mx += ((int)event.xmotion.x - mwx)*2;
+	    my += ((int)event.xmotion.y - mwy)*2;
 	    mwx = event.xmotion.x;
 	    mwy = event.xmotion.y;