stumpwm-devel
[Top][All Lists]
Advanced

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

Re: [STUMP] Windows key prefix key oddity


From: Eric Abrahamsen
Subject: Re: [STUMP] Windows key prefix key oddity
Date: Wed, 26 Mar 2014 20:33:50 +0800
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3 (gnu/linux)

Michael Raskin <address@hidden> writes:

>>I found that switching keyboard layouts (between qwerty and colemak)
>>using the "group toggle" function of setxkbmap confused Stump a little:
>>it thought the prefix "t" was on the same key no matter what layout I
>>was using. I wonder if that's caused by the same issue: that it only
>>reads keycodes once on startup? I don't suppose you know where in the
>>code this happens?
>
> set-prefix-key remembers various small things and calls sync-keys 
> (bindings.lisp, defcommand set-prefix-keys)
>
> sync-keys is defined in window.lisp and it calls xwin-grab-keys
> (window.lisp, defun sync-keys)
>
> xwin-grab-keys converts keysyms to keycodes expicitly.
> (window.lisp, defun xwing-grab-keys)

Perfect, thanks a lot for these pointers! I just tried sync-keys to no
effect, but even that tells me something. This definitely helps.



reply via email to

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