From d8a3b3b372748d7c23c6d24c0d199664873cb570 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 20 Apr 2011 13:42:48 +0200 Subject: [PATCH] New upstream release 0.8.1 --- .gitignore | 1 + ...dle-hotkeys-while-sticky-alt-is-acti.patch | 47 ------------------- sources | 2 +- spice.spec | 9 ++-- 4 files changed, 7 insertions(+), 52 deletions(-) delete mode 100644 0001-client-Don-t-handle-hotkeys-while-sticky-alt-is-acti.patch diff --git a/.gitignore b/.gitignore index bb441bc..4ac9578 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ spice-0.5.3.tar.bz2 /spice-0.7.2.tar.bz2 /spice-0.7.3.tar.bz2 /spice-0.8.0.tar.bz2 +/spice-0.8.1.tar.bz2 diff --git a/0001-client-Don-t-handle-hotkeys-while-sticky-alt-is-acti.patch b/0001-client-Don-t-handle-hotkeys-while-sticky-alt-is-acti.patch deleted file mode 100644 index 309147a..0000000 --- a/0001-client-Don-t-handle-hotkeys-while-sticky-alt-is-acti.patch +++ /dev/null @@ -1,47 +0,0 @@ -From b30f8b877ca7b1f27422005310b9e82985d80214 Mon Sep 17 00:00:00 2001 -From: Hans de Goede -Date: Fri, 11 Mar 2011 14:04:10 +0100 -Subject: [PATCH spice] client: Don't handle hotkeys while sticky alt is active - -In some cases rhev-m changes the hotkey for releasing the mouse grab -to ctrl + alt. This makes it impossible to send ctrl + alt + other-key -to the guest, even when using sticky alt. - -What happens is: --press alt until sticky alt activates --release alt (but recorded state stays pressed due to sticky alt) --press ctrl --hotkey code sees ctrl+alt pressed, releases mouse grab --mouse grab release code does an unpress all -> end of sticky state. - -This patch makes it possible to atleast send ctrl + alt + del (or other key) -using sticky alt. Note: even with this patch it is still a bad idea to -use ctrl + alt as hotkey combi. ---- - client/application.cpp | 10 ++++++---- - 1 files changed, 6 insertions(+), 4 deletions(-) - -diff --git a/client/application.cpp b/client/application.cpp -index 9257eb2..9bff1c5 100644 ---- a/client/application.cpp -+++ b/client/application.cpp -@@ -1247,10 +1247,12 @@ void Application::on_key_down(RedKey key) - } - } - -- int command = get_hotkeys_commnad(); -- if (command != APP_CMD_INVALID) { -- do_command(command); -- return; -+ if (!_sticky_info.sticky_mode) { -+ int command = get_hotkeys_commnad(); -+ if (command != APP_CMD_INVALID) { -+ do_command(command); -+ return; -+ } - } - - #ifdef WIN32 --- -1.7.3.2 - diff --git a/sources b/sources index 929be89..1c37d2d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7fde397b93127875024ce718151dc51d spice-0.8.0.tar.bz2 +df682a42f4bc03fa5e35d2844a0e4b4b spice-0.8.1.tar.bz2 diff --git a/spice.spec b/spice.spec index 4e20d0a..14d234c 100644 --- a/spice.spec +++ b/spice.spec @@ -1,12 +1,11 @@ Name: spice -Version: 0.8.0 -Release: 2%{?dist} +Version: 0.8.1 +Release: 1%{?dist} Summary: Implements the SPICE protocol Group: User Interface/Desktops License: LGPLv2+ URL: http://www.spice-space.org/ Source0: http://www.spice-space.org/download/releases/%{name}-%{version}.tar.bz2 -Patch0: 0001-client-Don-t-handle-hotkeys-while-sticky-alt-is-acti.patch # https://bugzilla.redhat.com/show_bug.cgi?id=613529 ExclusiveArch: i686 x86_64 @@ -65,7 +64,6 @@ using spice-server, you will need to install spice-server-devel. %prep %setup -q -%patch0 -p1 %build %configure --enable-gui --enable-smartcard @@ -108,6 +106,9 @@ rm -f %{buildroot}%{_libdir}/libspice-server.la %endif %changelog +* Wed Apr 20 2011 Hans de Goede - 0.8.1-1 +- New upstream release 0.8.1 + * Fri Mar 11 2011 Hans de Goede - 0.8.0-2 - Fix being unable to send ctrl+alt+key when release mouse is bound to ctrl+alt (which can happen when used from RHEV-M)