[xserver PATCH 2/2] dix: Send KeyPress and KeyRelease events to the XACE_KEY_AVAIL hook

Peter Hutterer peter.hutterer at who-t.net
Fri Jun 12 16:25:47 PDT 2015


On 13/06/2015 06:42 , Andrew Eikum wrote:
> On Wed, Jun 10, 2015 at 02:14:51PM +1000, Peter Hutterer wrote:
>> On Thu, Jun 04, 2015 at 01:24:53PM -0500, Andrew Eikum wrote:
>>> While it's documented in the XACE spec, the XACE_KEY_AVAIL hook is
>>> currently never actually invoked by the xserver.
>>>
>>> This hook was added in 13c6713c82 (25 Aug 2006), but as the keyboard
>>> processing was moved into XKB, the hook was forgotten and silently
>>> dropped. The code calling this hook was removed by 7af53799c (4 Jan
>>> 2009), but it was probably already unused before that.
>>>
>>> This patch re-adds support for this hook. The "count" hook parameter is
>>> unused.
>>>
>>> Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
>>> ---
>>>
>>> Pending approval, updates to the XACE spec documentation for the "count"
>>> parameter, and to warn about duplicate events, will follow.
>>
>> thanks, both merged.
>>
>
> Thanks! Is this pushed someplace? I don't see it at
> http://cgit.freedesktop.org/xorg/xserver/

I sent a pull request to keith yesterday with the two patches in it 
(don't have the link at hand but the archive will have it). once pulled 
it will be upstream proper.

Cheers,
   Peter



More information about the xorg-devel mailing list