Package: libgtk-vnc-1.0-0
Version: 0.3.3-1

Hi Guido,

There's a report[1] in Launchpad about Vinagre not grabbing mouse/keyboard focus
in the guest. Jonh Wendell has pointed out it is a bug in gtk-vnc, which is
fixed in trunk and will be fixed in 0.3.4. I attach the patch here in case you
want to include it in gtk-vnc (I'm doing it for the Ubuntu package).

Take care,
Emilio

[1] https://bugs.launchpad.net/ubuntu/+source/gtk-vnc/+bug/192051
diff -ruN gtk-vnc-0.3.3/src/vncdisplay.c gtk-vnc-0.3.3.new/src/vncdisplay.c
--- gtk-vnc-0.3.3/src/vncdisplay.c	2008-01-29 02:21:14.000000000 +0100
+++ gtk-vnc-0.3.3.new/src/vncdisplay.c	2008-02-17 16:57:51.000000000 +0100
@@ -244,6 +244,8 @@
 	if (priv->read_only)
 		return FALSE;
 
+	gtk_widget_grab_focus (widget);
+
 	if ((priv->grab_pointer || !priv->absolute) &&
 	    !priv->in_pointer_grab &&
 	    button->button == 1 && button->type == GDK_BUTTON_PRESS)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to