Package: x2vnc
Version: 1.7.2-2
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch


Attached is a patch from Will Shackleton to fix a sticking cursor in a 
multi-screen configuration. It would be appreciated if you could apply this 
patch to the next revision of the Debian package.

This patch has been sent upstream, and been notified of Ubuntu and Debian bugs.

If you are interested in tracking the x2vnc bugs in Ubuntu, you can go to 
https://launchpad.net/ubuntu/+source/x2vnc/+bugs.

*** /tmp/tmpweaW9E
  * x.c: Fixed xinerama support for certain multiple screen setups. (LP: 
#726783)

Thanks for considering the patch.
--- x.c	2008-03-25 10:45:34 +0000
+++ x.c	2011-03-03 23:34:29 +0000
@@ -848,9 +848,9 @@
 {
   int n,ret=a.x;
   if(a.y < ret) ret=a.y;
-  n=displayHeight - a.y;
+  n=y_offset + displayHeight - a.y;
   if(n < ret) ret=n;
-  n=displayWidth - a.x;
+  n=x_offset + displayWidth - a.x;
   if(n < ret) ret=n;
   return ret;
 }

Reply via email to