[PATCH v2 0/4] XWayland: Support key focus array correctly

Daniel Stone daniels at collabora.com
Fri Nov 20 07:37:27 PST 2015


Hi,
One year later, a follow-up to:
http://lists.x.org/archives/xorg-devel/2014-November/044627.html

This aims to support the XWayland equivalent of KeymapNotify correctly,
in particular fixing Alt-Tab. Without this patch, when you Alt-Tab to an
XWayland client, it receives Alt as a fully-fledged key press/release
pair, and does something stupid like opening the menu.

We can solve this, by plumbing the key array from wl_keyboard::enter
through to KeymapNotify, as both protocols intended.

The main change is that, rather than use a new event type, a new
'event_source' field is added, indicating the circumstances which
provoked the event (normal keypress, or focus-in event). I'm not
attached to the nomenclature attached to any of this, so if someone
wants to bikeshed a better name for anything I've added, please feel
free to just push that in.

Cheers,
Daniel



More information about the xorg-devel mailing list