[et-mgmt-tools] [PATCH]: Disable accelerator keys when "grabbed"

Daniel P. Berrange berrange at redhat.com
Wed Mar 5 22:09:35 UTC 2008


On Mon, Mar 03, 2008 at 04:07:50PM -0500, Chris Lalancette wrote:
> Hello,
>      Currently in virt-viewer, when you type either Alt-f, Alt-s, or Alt-h, the
> accelerator for the menu on top kicks in.  That's fine, except that when the
> pointer is grabbed, this is really not what the user expects; the user is
> expecting that key combination to go through to the guest.  The attached patch
> does this; basically it disables the accelerators when the pointer is grabbed,
> and re-enabled them when the pointer is ungrabbed.
> 
> Signed-off-by: Chris Lalancette <clalance at redhat.com>

ACK, pretty similar idea to what we do in virt-manager already, so have
applied this.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the et-mgmt-tools mailing list