Alexandros Frantzis (@afrantzis) commented about dlls/winewayland.drv/wayland_keyboard.c:
WINE_DEFAULT_DEBUG_CHANNEL(keyboard); WINE_DECLARE_DEBUG_CHANNEL(key);
+struct layout +{
- struct list entry;
- char *xkb_layout;
- int xkb_group;
- LANGID lang;
- WORD index;
- /* "Layout Id", used by NtUserGetKeyboardLayoutName / LoadKeyboardLayoutW */
- WORD layout_id;
+};
+static struct list xkb_layouts = LIST_INIT(xkb_layouts);
Nit: We have been using `wl_list` in the driver so far, perhaps we can also use it here for consistency (but it's fine either way).