<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
  </head>
  <body>
    <p><tt>I believe that I found the rest of the answers for everything
        except for what the flag XCB_REQUEST_RAW does:</tt></p>
    <p><tt><span style="color: rgb(0, 0, 0); font-size: medium;
          font-style: normal; font-variant-ligatures: normal;
          font-variant-caps: normal; font-weight: 400; letter-spacing:
          normal; text-align: justify; text-indent: 0px; text-transform:
          none; white-space: normal; word-spacing: 0px;
          -webkit-text-stroke-width: 0px; text-decoration-style:
          initial; text-decoration-color: initial; display: inline
          !important; float: none;">XCB_REQUEST_CHECKED (tells the
          server to provide the error, if any, inside a<span> </span></span></tt><tt><i style="color: rgb(0, 0, 0); font-size: medium;
          font-variant-ligatures: normal; font-variant-caps: normal;
          font-weight: 400; letter-spacing: normal; text-align: justify;
          text-indent: 0px; text-transform: none; white-space: normal;
          word-spacing: 0px; -webkit-text-stroke-width: 0px;
          text-decoration-style: initial; text-decoration-color:
          initial;">reply</i></tt><tt><span style="color: rgb(0, 0, 0);
          font-size: medium; font-style: normal; font-variant-ligatures:
          normal; font-variant-caps: normal; font-weight: 400;
          letter-spacing: normal; text-align: justify; text-indent: 0px;
          text-transform: none; white-space: normal; word-spacing: 0px;
          -webkit-text-stroke-width: 0px; text-decoration-style:
          initial; text-decoration-color: initial; display: inline
          !important; float: none;"><span> </span>to a given request),
          XCB_REQUEST_DISCARD_REPLY (tells X to discard the reply, if
          any, to a given request), and XCB_REQUEST_REPLY_FDS (tells the
          server to include the number of socket file descriptors inside
          the reply to a given request,<span> </span></span></tt><tt><a href="https://gitlab.freedesktop.org/xorg/lib/libxcb/-/blob/master/src/xcb_in.c#L246" style="font-size: medium; font-style: normal;
          font-variant-ligatures: normal; font-variant-caps: normal;
          font-weight: 400; letter-spacing: normal; text-align: justify;
          text-indent: 0px; text-transform: none; white-space: normal;
          word-spacing: 0px; -webkit-text-stroke-width: 0px;">this
          appears to be for internal usage only</a></tt><tt><span style="color: rgb(0, 0, 0); font-size: medium; font-style:
          normal; font-variant-ligatures: normal; font-variant-caps:
          normal; font-weight: 400; letter-spacing: normal; text-align:
          justify; text-indent: 0px; text-transform: none; white-space:
          normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;
          text-decoration-style: initial; text-decoration-color:
          initial; display: inline !important; float: none;">). Member
          of the struct  </span></tt><span style="color: rgb(0, 0, 0);
        font-family: "Times New Roman"; font-size: medium;
        font-style: normal; font-variant-ligatures: normal;
        font-variant-caps: normal; font-weight: 400; letter-spacing:
        normal; orphans: 2; text-align: justify; text-indent: 0px;
        text-transform: none; white-space: normal; widows: 2;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        text-decoration-thickness: initial; text-decoration-style:
        initial; text-decoration-color: initial; display: inline
        !important; float: none;"><span style="font-size:11pt;"><tt>xcb_unmap_window_request_t
            pad0 may store the number of socket file descriptors
            depending on the request.</tt></span></span></p>
    <p><span style="color: rgb(0, 0, 0); font-family: "Times New
        Roman"; font-size: medium; font-style: normal;
        font-variant-ligatures: normal; font-variant-caps: normal;
        font-weight: 400; letter-spacing: normal; orphans: 2;
        text-align: justify; text-indent: 0px; text-transform: none;
        white-space: normal; widows: 2; word-spacing: 0px;
        -webkit-text-stroke-width: 0px; text-decoration-thickness:
        initial; text-decoration-style: initial; text-decoration-color:
        initial; display: inline !important; float: none;"><font size="2"><span style="font-size:11pt;"><tt></tt></span></font><font size="2"><span style="font-size:11pt;"><br>
          </span></font></span></p>
    <div class="moz-cite-prefix">On 11/02/2021 14:58, Lucas Augusto
      Valentim Dantas wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CPZP284MB0488D08398485E6729BEB8598A8C9@CPZP284MB0488.BRAP284.PROD.OUTLOOK.COM">
      
      <style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Thank you very much! I will ruminate more on this and read on
        error handling and events until I can write something
        intelligible about this.</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Meanwhile I would like to point out that the struct I was
        talking about has the following members: major_opcode, pad0 (no
        idea what this is nor how it is used), length (length of the
        request?), and window (I kknow this is supposed to reference the
        window that is supposed to be unmapped).</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <a href="https://xcb.freedesktop.org/manual/structxcb__unmap__window__request__t.html" id="LPlnk811274" moz-do-not-send="true">https://xcb.freedesktop.org/manual/structxcb__unmap__window__request__t.html</a></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        It also appears here <a href="https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Desktop-generic/LSB-Desktop-generic/libxcb-ddefs.html" id="LPlnk830047" moz-do-not-send="true">https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Desktop-generic/LSB-Desktop-generic/libxcb-ddefs.html</a></div>
      <br>
      <hr style="display:inline-block;width:98%" tabindex="-1">
      <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De:</b> Uli
          Schlachter <a class="moz-txt-link-rfc2396E" href="mailto:psychon@znc.in"><psychon@znc.in></a><br>
          <b>Enviado:</b> quinta-feira, 11 de fevereiro de 2021 14:37<br>
          <b>Para:</b> Lucas Augusto Valentim Dantas
          <a class="moz-txt-link-rfc2396E" href="mailto:lucasvalentim@outlook.com.br"><lucasvalentim@outlook.com.br></a>;
          <a class="moz-txt-link-abbreviated" href="mailto:xcb@lists.freedesktop.org">xcb@lists.freedesktop.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:xcb@lists.freedesktop.org"><xcb@lists.freedesktop.org></a><br>
          <b>Assunto:</b> Re: [Xcb] [EXTERNAL] - Attempt at writing a
          tutorial</font>
        <div> </div>
      </div>
      <div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
            <div class="PlainText">Hi,<br>
              <br>
              checked vs unchecked requests are explained here (under
              the heading of<br>
              the same name):<br>
              <br>
              <a href="https://www.systutorials.com/docs/linux/man/3-xcb-requests/" moz-do-not-send="true">https://www.systutorials.com/docs/linux/man/3-xcb-requests/</a><br>
              <br>
              The short version is: This only makes a difference for X11
              error<br>
              handling. With unchecked requests, any errors show up as
              events in e.g.<br>
              xcb_wait_for_event(). With checked requests, errors are
              provided when<br>
              getting the reply (or calling xcb_check_request()).<br>
              <br>
              Cheers,<br>
              Uli<br>
              <br>
              Am 11.02.21 um 18:28 schrieb Lucas Augusto Valentim
              Dantas:<br>
              > I found those values by looking into the source code,
              probably libxcb's, since they are passed to the second
              argument of the function xcb_send_request(), as can be
              seen here (although the "sequence" argument is gone
              already):
              <a href="https://xcb.freedesktop.org/ProtocolExtensionApi/#index3h2" moz-do-not-send="true">https://xcb.freedesktop.org/ProtocolExtensionApi/#index3h2</a>
              but that page doesn't explain what they do.<br>
              > My goal with this tutorial is to provide enough for
              the reader to understand the X documentation so he is able
              to "navigate" on his own, that is what I am trying to do
              myself.<br>
              > ________________________________<br>
              > De: Peter Harris <a class="moz-txt-link-rfc2396E" href="mailto:pharris@opentext.com"><pharris@opentext.com></a><br>
              > Enviado: quinta-feira, 11 de fevereiro de 2021 14:15<br>
              > Para: Lucas <a class="moz-txt-link-rfc2396E" href="mailto:lucasvalentim@outlook.com.br"><lucasvalentim@outlook.com.br></a>;
              <a class="moz-txt-link-abbreviated" href="mailto:xcb@lists.freedesktop.org">xcb@lists.freedesktop.org</a>
              <a class="moz-txt-link-rfc2396E" href="mailto:xcb@lists.freedesktop.org"><xcb@lists.freedesktop.org></a><br>
              > Assunto: RE: [EXTERNAL] - [Xcb] Attempt at writing a
              tutorial<br>
              > <br>
              > On 2021-02-10 Lucas wrote:<br>
              >> I am writing a XCB tutorial as an exercise, so
              far, this is what I<br>
              >> have <a href="https://biteiro.ga/xcb.html" moz-do-not-send="true">https://biteiro.ga/xcb.html</a><br>
              >><br>
              >> There are a few things I couldn't find details
              yet, such as what does<br>
              >> the flags XCB_REQUEST_CHECKED, XCB_REQUEST_RAW,<br>
              >> XCB_REQUEST_DISCARD_REPLY, and
              XCB_REQUEST_REPLY_FDS do?<br>
              > <br>
              > Those values are for internal use by libxcb (and/or
              xlib), and are not intended to be used by a normal user of
              libxcb.<br>
              > <br>
              > Who is your tutorial intended for? Showing the inner
              workings is more of a "deep documentation" thing than a
              "tutorial" thing.<br>
              > <br>
              >> Are there any<br>
              >> explanations on the members of the struct
              xcb_unmap_window_request_t?<br>
              > <br>
              > libxcb is a thin wrapper around the X11 protocol. As
              such, the documentation for those fields can be found at:<br>
              > <br>
              > <a href="https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html#request_format" moz-do-not-send="true">
https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html#request_format</a><br>
              > <br>
              > <a href="https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html#requests:UnmapWindow" moz-do-not-send="true">
https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html#requests:UnmapWindow</a><br>
              > <br>
              > Peter Harris<br>
              > <br>
              > <br>
              > _______________________________________________<br>
              > Xcb mailing list<br>
              > <a class="moz-txt-link-abbreviated" href="mailto:Xcb@lists.freedesktop.org">Xcb@lists.freedesktop.org</a><br>
              > <a href="https://lists.freedesktop.org/mailman/listinfo/xcb" moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/xcb</a><br>
              > <br>
              <br>
              <br>
              -- <br>
              <alanc> I think someone had a Xprint version of
              glxgears at one point,<br>
                  but benchmarking how many GL pages you can print per
              second<br>
                  was deemed too silly to merge<br>
            </div>
          </span></font></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Xcb mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xcb@lists.freedesktop.org">Xcb@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/xcb">https://lists.freedesktop.org/mailman/listinfo/xcb</a>
</pre>
    </blockquote>
  </body>
</html>