<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xcb_xkb_get_kbd_by_name not working"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89560#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xcb_xkb_get_kbd_by_name not working"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89560">bug 89560</a>
              from <span class="vcard"><a class="email" href="mailto:ria.freelander@gmail.com" title="Konstantin <ria.freelander@gmail.com>"> <span class="fn">Konstantin</span></a>
</span></b>
        <pre>Just read all about this bug and related changes (expand XKB support in XCB). I
cannot wait until full correct realization of XKB arrives.

For now I am want a replacement for this in setxkbmap:
    if (verbose > 5)
    {
        MSG("Trying to build keymap using the following components:\n");
        dumpNames(False, True);
    }
    /* Upload the new description to the server. */
    if (dpy && !print && !query)
    {
        XkbComponentNamesRec cmdNames = {
            .keymap = settings.keymap.value,
            .keycodes = settings.keycodes.value,
            .types = settings.types.value,
            .compat = settings.compat.value,
            .symbols = settings.symbols.value,
            .geometry = settings.geometry.value
        };

        xkb = XkbGetKeyboardByName(dpy, deviceSpec, &cmdNames,
                                   XkbGBN_AllComponentsMask,
                                   XkbGBN_AllComponentsMask &
                                   (~XkbGBN_GeometryMask), True);
        if (!xkb)
        {
            ERR("Error loading new keyboard description\n");
            return False;
        }

To fill XkbComponentNames-like struct, I am using libxkbcommon and regexes from
GLib. So the one problem is replicate XkbGetKeyboardByName request to set
description to server.
It is even possible with use current XCB? For example, using raw
xcb_send_request (I am tried, but got XI_BadDevice)?
If yes, can you post a simple how to for it?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>