[Bug 93249] key event going to display even with keyboard ungrabbed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 9 08:48:25 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=93249

--- Comment #21 from Marc-Andre Lureau <marcandre.lureau at gmail.com> ---
(In reply to Zeeshan Ali from comment #20)
> I'm sure, you completely misunderstood me. In the quoted context that you
> didn't paste, I was talking about showing some UI to ensure user knows
> keyboard is grabbed not wonder if keyboard is not working after (potentially
> accidently) hitting the keyboard ungrab combo. I doubt SPICE does that
> already.

I fail to understand that. spice-gtk input behaviour is rather simple:
- has no focus -> no input
- has focus -> gtk input is handled by the widget
- has focus + grab -> all keyboard input (including "system keys", except
vt-switch) is handled by the widget

When the widget has the focus, there is no handling of focus chain built-in the
widget, but like any other accelerator, you can set one in your app.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-bugs/attachments/20151209/1ccc4600/attachment.html>


More information about the spice-bugs mailing list