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

Peter Hutterer peter.hutterer at who-t.net
Mon Nov 23 17:42:51 PST 2015


On Fri, Nov 20, 2015 at 03:37:27PM +0000, Daniel Stone wrote:
> 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.

   71ba826..fee0827  master -> master

thanks

Cheers,
   Peter



More information about the xorg-devel mailing list