Michael Raskin <38a93...@rambler.ru> 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.

_______________________________________________
Stumpwm-devel mailing list
Stumpwm-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel

Reply via email to