Hans de Goede a9d54d4c6c 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.
2011-03-11 15:32:06 +01:00
2011-02-13 16:48:31 +01:00
2009-10-14 15:06:41 +02:00
2009-10-14 15:06:41 +02:00
2009-10-14 15:06:41 +02:00
2009-10-14 15:06:41 +02:00
2011-02-13 16:48:31 +01:00
2010-07-08 20:20:35 +02:00
2011-02-13 16:48:31 +01:00
2010-03-24 17:13:42 +01:00

Copyright 2009 Red Hat, Inc. and/or its affiliates.

This program and libraries is free software; you can redistribute it
and/or modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see <http://www.gnu.org/licenses/>.
S
Description
Unnamed repository; edit this file to name it for gitweb.
Readme LGPL-2.1
9.4 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 92.3%
Makefile 3.8%
M4 1.8%
Meson 0.8%
Python 0.7%
Other 0.6%