clx
clx copied to clipboard
`xlib:modifier-mapping` not listing AltGr as modifier some non US layouts
As reported in https://github.com/stumpwm/stumpwm/issues/936, the function xlib:modifier-mapping does not list AltGr (code 108) as a modifier when either a French or the default Spanish layout is set. More could be affected by this issue.
Steps to reproduce:
- Set keyboard to
uswithsetxkbmap - Execute the following code in SBCL:
(ql:quickload :clx)
(let ((display (xlib:open-display "")))
(xlib:modifier-mapping display))
- See the code
108corresponding to AltGr is here. - Set keyboard to
froreswithsetxkbmap(some if not all variants offrare also affected) - Execute the same code in SBCL
- The code
108does not appear in the output
I am very unfamiliar with Xorg programming, so I have no idea where this issue might come from. Any idea?