[gtk-vnc] Make sure the local pointer setting is respected on enter events



commit 61651e0485ae3334f047f08d080ac62d4b848fae
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Thu Mar 18 13:00:58 2010 +0000

    Make sure the local pointer setting is respected on enter events
    
    Patch from
    
      https://bugzilla.gnome.org/show_bug.cgi?id=577580

 src/vncdisplay.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/vncdisplay.c b/src/vncdisplay.c
index 46d3c0f..5e4d57d 100644
--- a/src/vncdisplay.c
+++ b/src/vncdisplay.c
@@ -781,6 +781,9 @@ static gboolean enter_event(GtkWidget *widget, GdkEventCrossing *crossing G_GNUC
         if (priv->grab_keyboard)
                 do_keyboard_grab(VNC_DISPLAY(widget), FALSE);
 
+        if (priv->local_pointer)
+                do_pointer_show(VNC_DISPLAY(widget));
+
         return TRUE;
 }
 



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