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

Daniel Stone daniel at fooishbar.org
Tue Nov 24 10:01:30 PST 2015


On 24 November 2015 at 01:42, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> On Fri, Nov 20, 2015 at 03:37:27PM +0000, Daniel Stone wrote:
>> 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 a lot Peter!

Cheers,
Daniel


More information about the xorg-devel mailing list