GNOME Bugzilla – Bug 794176
[Xwayland] Unknown X11 keycode mapping 'unnamed'.
Last modified: 2018-03-13 09:30:55 UTC
Created attachment 369455 [details] [review] [PATCH] Use scancode instead of keycode names Description: From downstream bug https://bugzilla.redhat.com/show_bug.cgi?id=1512564 When using gtk-vnc on Xwayland, the keycode mapping property is not available which causes unknown keycode mapping errors and the keyboard doesn't work. WARNING **: Unknown keycode mapping '(unnamed)'. CRITICAL **: send_key: assertion 'scancode != 0' failed For each key press which is then ignored. Fix attached.
Created attachment 369481 [details] [review] [PATCH v2] Use scancode instead of keycode names v2: Keep old code as requested, use scancodes to complement the check instead of replacing the previous logic entirely, as per the review on https://patchwork.freedesktop.org/patch/209141/.
Thanks, pushed to git master