On Wed Apr 15 19:46:10 2026 +0000, Matteo Bruni wrote:
Maybe worth mentioning that I turned this into a "normal" sorted array (compared to winewayland's version) because, later on, I'm going to reuse it in reverse for creating `struct layout` layouts from `X11DRV_KEYBOARD_DetectLayout()` in the fallback case. I'm not entirely sure about it but as you prefer. My reluctance is mostly about diverging from winewayland. I had hopes that large parts of both keyboard layout handling could eventually be factored together, possibly in win32u though I'm not yet sure how. It's not too much of a diverging but lets try to be conservative if possible (or change winewayland accordingly).
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10550#note_136455