Bug 89240

Summary: Cannot get keyboard description using XkbGetKeyboard
Product: Wayland Reporter: Pavel Grunt <pavelgrunt>
Component: XWaylandAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: test app for getting keyboard description

Description Pavel Grunt 2015-02-20 12:43:23 UTC
Created attachment 113684 [details]
test app for getting keyboard description

Calling XkbGetKeyboard() always returns NULL.

OS: Fedora 21, GNOME on Wayland
Comment 1 Daniel Stone 2015-02-20 13:10:45 UTC
Yes, there is no way of recovering the (lossy) information that XkbGetKeyboard() provides.

Use XkbGetMap() instead, because not only does it work on Wayland, but on X11 it also provides changes which may have been applied through xmodmap.

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.