You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
330 B

--- a/src/linux/rw_x11.c
+++ b/src/linux/rw_x11.c
@@ -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;