Alexandros Frantzis (@afrantzis) commented about dlls/winewayland.drv/wayland_keyboard.c:
return hwnd;
}
+static struct xkb_context *wayland_keyboard_get_xkb_context(void) +{
- struct wayland_keyboard *keyboard = &process_wayland.keyboard;
- struct xkb_context *xkb_context;
- pthread_mutex_lock(&keyboard->mutex);
- xkb_context = keyboard->xkb_context;
- xkb_context_ref(xkb_context);
Perhaps: ```suggestion:-1+0 xkb_context = xkb_context_ref(keyboard->xkb_context) ```
But see below about whether we need this function at the moment.