[gtk-vnc-devel] [PATCH 7/7] Enable local_pointer by default to make aiming easy on high-latency X connections 2008-12-17 Federico Mena Quintero <federico novell com>



        * src/vncdisplay.c (vnc_display_init): Enable local_pointer by
        default, so that we get a local cursor to make aiming easy.
        Otherwise, we have to wait for the VNC server to tell us to
        paint the cursor (or the plain screen image if VNC cursors are
        not supported).  This makes things much more usable when gtk-vnc
        is being proxied (say) over SSH to a remote, low-bandwith X server.

Signed-off-by: Federico Mena Quintero <federico novell com>
---
 ChangeLog        |    9 +++++++++
 src/vncdisplay.c |    2 +-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ae2b4e5..092859d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-12-17  Federico Mena Quintero  <federico novell com>
+
+        * src/vncdisplay.c (vnc_display_init): Enable local_pointer by
+        default, so that we get a local cursor to make aiming easy.
+        Otherwise, we have to wait for the VNC server to tell us to
+        paint the cursor (or the plain screen image if VNC cursors are
+        not supported).  This makes things much more usable when gtk-vnc
+        is being proxied (say) over SSH to a remote, low-bandwith X server.
+
 2008-11-24  Federico Mena Quintero  <federico novell com>
 
 	* src/gvnc.c (gvnc_framebuffer_update): Integrate 
diff --git a/src/vncdisplay.c b/src/vncdisplay.c
index e9ba14e..b546f41 100644
--- a/src/vncdisplay.c
+++ b/src/vncdisplay.c
@@ -1962,7 +1962,7 @@ static void vnc_display_init(VncDisplay *display)
 	priv->allow_scaling = FALSE;
 	priv->grab_pointer = FALSE;
 	priv->grab_keyboard = FALSE;
-	priv->local_pointer = FALSE;
+	priv->local_pointer = TRUE;
 	priv->shared_flag = FALSE;
 	priv->force_size = TRUE;
 
-- 
1.5.6





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]