Subversion Repositories x2vnc

Compare Revisions

Ignore whitespace Rev 14 → Rev 15

/trunk/debian/changelog
2,8 → 2,11
 
* Switch to source format 3.0 (quilt).
* Switch from Imake to configure (enabling Xinerama).
* Add patch via Ubuntu that fixes a problem with the cursor not moving
to the remote screen when Xinerama support is enabled (Closes:
#616396; LP: #726783). Thanks to Will Shackleton.
 
-- Magnus Holmgren <holmgren@debian.org> Sun, 06 Mar 2011 20:21:26 +0100
-- Magnus Holmgren <holmgren@debian.org> Sun, 06 Mar 2011 20:51:00 +0100
 
x2vnc (1.7.2-2) unstable; urgency=low
 
/trunk/debian/patches/series
0,0 → 1,0
multiscreen-cursor-stick.patch
/trunk/debian/patches/multiscreen-cursor-stick.patch
0,0 → 1,24
Description: Fix a sticking cursor in a multi-screen configuration
When x2vnc is compiled with Xinerama support and runs with a multiscreen setup,
the cursor can become stuck on the border between the local and remote screens,
not moving further than the border, as it should do.
Author: Will Shackleton <w.shackleton@gmail.com>
Bug-Debian: http://bugs.debian.org/616396
Bug-Ubuntu: https://launchpad.net/bugs/726783
Forwarded: yes
 
--- a/x.c 2008-03-25 10:45:34 +0000
+++ b/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;
}