Re: [PATCH spice-gtk v2] Release keyboard grab using keyboard shortcut

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






On Wed, Nov 12, 2014 at 10:11 AM, Pavel Grunt <pgrunt@xxxxxxxxxx> wrote:
This commit adds the ability to release the keyboard grab when
the release keys (ctrl+alt) are pressed and released. It allows
to use keyboard shortcuts (eg alt+tab, alt+f4) on the client.

The keyboard is grabbed again when the release keys are pressed
and released or when the mouse moves.


There is an issue to retake the grab with the same shortcut, after pressing alt-tab. It works only if pressed 2 times.

It seems to be because the sequence is cancelled in check_for_grab_key(), I haven't investigated further.
 
Thanks, it happened because it tried to grab the keyboard when window was unfocused . I am sending v3.

Pavel
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]