Package: gtk-vnc Version: 0.3.6-2 Severity: important Tags: patch User: [EMAIL PROTECTED] Usertags: origin-ubuntu intrepid ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following: * debian/patches/abs-ungrab.patch: Fix for inability to ungrab mouse when in absolute pointer mode (LP: #287754) We thought you might be interested in doing the same. I marked the bug as 'important' because when using gtk-vnc with virt-manager/libvirt, you can't release the mouse cursor under many guests when using libvirt without going to a console and shutting the machine down via virsh. Jamie Strandboge -- System Information: Debian Release: lenny/sid APT prefers intrepid-updates APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'), (500, 'intrepid') Architecture: amd64 (x86_64) Kernel: Linux 2.6.27-7-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u gtk-vnc-0.3.7/debian/changelog gtk-vnc-0.3.7/debian/changelog diff -u gtk-vnc-0.3.7/debian/patches/series gtk-vnc-0.3.7/debian/patches/series --- gtk-vnc-0.3.7/debian/patches/series +++ gtk-vnc-0.3.7/debian/patches/series @@ -2,0 +3 @@ +abs-ungrab.patch only in patch2: unchanged: --- gtk-vnc-0.3.7.orig/debian/patches/abs-ungrab.patch +++ gtk-vnc-0.3.7/debian/patches/abs-ungrab.patch @@ -0,0 +1,25 @@ +# +# Ubuntu: https://bugs.launchpad.net/bugs/287754 +# Upstream: http://cvs.fedoraproject.org/viewvc/devel/gtk-vnc/gtk-vnc-0.3.7-abs-ungrab.patch?view=markup +# Description: Fix ungrab when in absolute pointer mode. For more details, see +# http://sourceforge.net/mailarchive/message.php?msg_name=20081008184404.GB19052%40redhat.com +# +diff -Nur gtk-vnc-0.3.7/src/vncdisplay.c gtk-vnc-0.3.7.new/src/vncdisplay.c +--- gtk-vnc-0.3.7/src/vncdisplay.c 2008-09-05 07:32:16.000000000 -0500 ++++ gtk-vnc-0.3.7.new/src/vncdisplay.c 2008-10-24 10:13:26.000000000 -0500 +@@ -740,13 +740,12 @@ + } + } + +- if ((!priv->grab_keyboard || !priv->absolute) && +- key->type == GDK_KEY_PRESS && ++ if (key->type == GDK_KEY_PRESS && + ((keyval == GDK_Control_L && (key->state & GDK_MOD1_MASK)) || + (keyval == GDK_Alt_L && (key->state & GDK_CONTROL_MASK)))) { + if (priv->in_pointer_grab) + do_pointer_ungrab(VNC_DISPLAY(widget), FALSE); +- else ++ else if (!priv->grab_keyboard || !priv->absolute) + do_pointer_grab(VNC_DISPLAY(widget), FALSE); + } +