[Xcb] Is xcb-xkb Usable?

Daniel Martin consume.noise at gmail.com
Sat Jan 12 09:06:27 PST 2013


On Sat, Jan 12, 2013 at 02:31:26PM +0100, Bastien Dejean wrote:
> Hi,
> 
> It seems that the following request always fails:
> 
>     xcb_xkb_per_client_flags(dpy, XCB_XKB_ID_USE_CORE_KBD, XCB_XKB_PER_CLIENT_FLAG_DETECTABLE_AUTO_REPEAT, XCB_XKB_PER_CLIENT_FLAG_DETECTABLE_AUTO_REPEAT, 0, 0, 0)
> 
> Is it expected?

Which error code? If it's 10 (BadAccess), did you initialized the
extension: xcb_xkb_use_extension()?

It's working here. If I run your request I get:
    deviceid=0 supported=31 value=1 autoctrls=0 autoctrlsvalues=0
(31 seems not to be documented in xml implementation yet. It comes from
XKB.h: #define XkbPCF_AllFlagsMask (0x1F).)


cheers,
    Daniel Martin


More information about the Xcb mailing list