[Spice-devel] [spice-gtk][PATCH] widget: grab the kbd even if the kbd is not focused
Fabiano FidĂȘncio
fidencio at redhat.com
Tue Oct 27 10:34:27 PDT 2015
On Tue, Oct 27, 2015 at 6:20 PM, Pavel Grunt <pgrunt at redhat.com> wrote:
> Hi Fabiano,
>
> this patch will cause stealing the "keyboard grab", e.g.:
> Imagine you are writing something, you accidentaly move mouse cursor over
> the SpiceDisplay widget, then the keys will be forwarded to the guest.
Yeah, that's true.
>
> But you can take the keyboard grab if any SpiceDisplay (of the session) has the
> keyboard focus.
Hmm. True. I can have a property in the spice-gtk-session for this.
Actually, this is a great approach!
I will send a v2.
Best Regards,
--
Fabiano FidĂȘncio
More information about the Spice-devel
mailing list