stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [STUMP] (patch) mapping keysyms back stumpwm key names


From: Matthew Kennedy
Subject: Re: [STUMP] (patch) mapping keysyms back stumpwm key names
Date: Sun, 07 May 2006 22:09:34 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Shawn Betts <address@hidden> writes:

> Matthew Kennedy <address@hidden> writes:
>
>> The attached patch provides a mapping from keysym names or keysyms
>> back to stumpwm names and adjusts print-key to print stumpwm names.
>> This way you'll see "C-t DEL not bound." instead of "C-t Delete not
>> bound.".  
>>
>> If there is no stumpwm name mapping for a keysym name, then the keysym
>> name will still be used.
>
> Hi Matthew,
>
> I applied your patch with a slight modification. Rather than having 2
> hash tables it just uses maphash and loops through the existing one to
> find the stumpwm name.
>
> It might be a bit slower but I doubt anyone will notice. Let me know
> if this is actually a bad idea :).

Fine by me.  My first draft was using an alist with assoc/rassoc :)

Best regards,

-- 
Matthew Kennedy
Gentoo Linux Developer (Public Key 0x401903E0)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]