April 7, 2026
4:17 p.m.
On Tue Apr 7 18:35:04 2026 +0000, Matteo Bruni wrote:
My general plan was to introduce the "new stuff" very gradually and making use of the fact that some global state already exists (e.g. `kbd_layout`) to add more to that, if temporarily. Later on I'd strip out questionable old and new global per-process state. I can reorder / rework things so that I avoid adding further per-process state from the start. Well okay, but as far as I can see you only need xkb_desc for the layout detection, which only ever happens on initialization and whenever the set of active Xkb groups changes. In both cases you need to recreate it, so it can also be destroyed once done with it?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10550#note_135350