Summary: | keymap layout set in weston.ini is not respected by XWayland clients | ||
---|---|---|---|
Product: | Wayland | Reporter: | Rune K. Svendsen <runesvend> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | runesvend |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Rune K. Svendsen
2013-03-11 14:55:37 UTC
xwayland-input.c:146: /* FIXME: Get the keymap from wl_keyboard::keymap events, which * requires more X server API to set a keymap from a string * rather than RMLVO. */ rmlvo.rules = "evdev"; rmlvo.model = "evdev"; rmlvo.layout = "us"; rmlvo.variant = NULL; rmlvo.options = NULL; We need to add a XKB function to compile from the keymap file we pass to clients and use that in InitKeyboardDeviceStruct() or new, similar function. This affects xwayland integration with all compositors. GNOME Shell, eg, not just weston. Ok, here's an first attempt at fixing this: http://cgit.freedesktop.org/~krh/xserver/log/?h=xkb-from-string Cleaned up the commits and pushed to xwayland-1.12 branch. Closing this one now, reopen if it doesn't fix the problem for you. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.