Re: [spice-gtk PATCH v2] Ability to release the cursor with a keyboard shortcut

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

 




On 10/09/2014 09:13 AM, Christophe Fergeau wrote:
Hey,

On Thu, Oct 09, 2014 at 08:52:21AM -0400, Pavel Grunt wrote:
Hi,

I don't have any issues. I was just thinking that it can be useful to
avoid automatic pointer and keyboard grabbing.

This patch enables keyboard and pointer ungrabbing in both modes.
The commit log only mentions mouse ungrabbing, but you mention keyboard
here. Does it also ungrab the keyboard? Ungrabbing the keyboard is
useful as it allows to pass key combinations to the client OS when the
guest is focused (alt-tab, alt+f4, ...)


+1 for being able to release keyboard using shortcut.

A few months back I started working on this exact problem (and made it exactly nowhere). There is already a key combination which can be defined for releasing grab, but it doesn't work in client mode.

It would be very useful for these tasks which I constantly am inconvenienced by when using remote-viewer. Citrix has a "local escape" key which allows the next key to be passed through. Default ctrl-f2.

- play/pause music playing on local computer using multimedia keys
- answer softphone with keyboard shortcut running on local computer

With respect to the screen saver, I think the current behavior is pretty ok: local screensaver is inhibited until the exact moment of ungrab (e.g. leaving fullscreen and moving the mouse out) and then the local screensaver kicks in.

--
Thanks,
David Mansfield
Cobite, INC.

_______________________________________________
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]