Re: [STUMP] Windows key prefix key oddity

Eric Abrahamsen <[email protected]>
Newsgroups gmane.comp.window-managers.stumpwm.devel
Message-ID <[email protected]>
Michael Raskin <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.