Bug 89240 - Cannot get keyboard description using XkbGetKeyboard
Summary: Cannot get keyboard description using XkbGetKeyboard
Status: RESOLVED NOTABUG
Alias: None
Product: Wayland
Classification: Unclassified
Component: XWayland (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-20 12:43 UTC by Pavel Grunt
Modified: 2015-02-20 13:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
test app for getting keyboard description (749 bytes, text/plain)
2015-02-20 12:43 UTC, Pavel Grunt
Details

Note You need to log in before you can comment on or make changes to this bug.
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.