XbkGetControls() fails...

Matthias Hopf mhopf at suse.de
Wed Sep 23 06:16:38 PDT 2009


With the current Xserver XbkGetControls() fails with XkbBadKeyboard.

Is this a known issue? Is the call deprecated?


-------------> cut <-----------------
    XkbDescRec xkb;
    Display *disp = XOpenDisplay (disp_name ? disp_name : ":0");
    memset (&xkb, 0, sizeof(xkb));
    ret = XkbGetControls (disp, XkbAllControlsMask, &xkb);
-------------> cut <-----------------


CU

Matthias

-- 
Matthias Hopf <mhopf at suse.de>      __        __   __
Maxfeldstr. 5 / 90409 Nuernberg   (_   | |  (_   |__          mat at mshopf.de
Phone +49-911-74053-715           __)  |_|  __)  |__  R & D   www.mshopf.de



More information about the xorg mailing list