[et-mgmt-tools] [PATCH]: Disable accelerator keys when "grabbed"
Chris Lalancette
clalance at redhat.com
Mon Mar 3 21:07:50 UTC 2008
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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virt-viewer-accelerator-disable.patch
Type: text/x-patch
Size: 3062 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20080303/be85a4d1/attachment.bin>
More information about the et-mgmt-tools
mailing list