On Fri, Nov 01, 2002 at 09:25:30PM -0800, [EMAIL PROTECTED] wrote:
>> David Dawes writes:
>> 
>> >On Thu, Oct 17, 2002 at 02:29:19PM -0700, Mark Vojkovich wrote:
>> [...]
>> 
>> > It'd be nice to make this configurable, and I'm sure that a patch
>> > to do that would be welcome.
>> > 
>> > >  There may be other ways to do this via configuring the XKB 
>> > >extension.  But I know next to nothing about XKB.
>> > 
>> > It's currently intercepting key events before they get passed up out of
>> > the DDX.  I'm not sure how feasible it would be to intercept them after
>> > they've been converted into X keysyms, but that might offer a more
>> > configurable solution.
>> 
>> XKB definately has support for defining "action" keys (e.g. to switch VTs or
>> to kill the server) and the mappings are, of course, configurable.  I thought
>> I had submitted a patch long ago to enable this functionality in XFree86, but
>> I guess I never sent it in.  I'll see if I can find it in my archives.
>
>I didn't find it, so I rewrote it.  This is better way of implementing
>than I did it before anyway.
>
>The attached patch:
>       1) Creates a new function to process action events that can be called
>          both by the current code (in xf86Events.c) that intercepts special
>          key sequences and by XKEYBOARD's action handlers.
>       2) Implements handling the processing of the Terminate action
>       3) Updates the xkb symbol maps to have a default mapping for the
>          Ctrl-Alt-Backspace sequence to the Terminate action

Thanks Joe.  That looks really useful.

David
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to