[PATCH 3/3] XWayland: Use FocusIn events for keyboard enter

Keith Packard keithp at keithp.com
Mon Nov 24 16:34:21 PST 2014


Daniel Stone <daniels at collabora.com> writes:

> wl_keyboard::enter is the equivalent of FocusIn + KeymapNotify: it
> notifies us that the surface/window has now received the focus, and
> provides us a set of keys which are currently down.

Why don't you just filter out non-modifier keys and skip those? That
should provide the basic functionality you want (persistent caps-lock,
or even shift) without requiring a pile of other changes?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20141124/e6f4a4d5/attachment.sig>


More information about the xorg-devel mailing list