[Spice-devel] [PATCH spice-gtk v2] Release keyboard grab using keyboard shortcut

Pavel Grunt pgrunt at redhat.com
Wed Nov 19 04:39:54 PST 2014


> On Wed, Nov 12, 2014 at 10:11 AM, Pavel Grunt < pgrunt at redhat.com >
> 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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20141119/9af42f07/attachment.html>


More information about the Spice-devel mailing list