<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-12-08 16:55 GMT-02:00 Uli Schlachter <span dir="ltr"><<a href="mailto:psychon@znc.in" target="_blank">psychon@znc.in</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="h5">Could you check xcb_get_extension_data(HostX.conn, &xcb_xkb_id)->present first?<br></div>
I don't know why XKB's UseExtension has a supported field, but without this<br>
suggested check, the XCB connection will just go in an error state if the XKB<br>
connection is not actually present.<br></blockquote><div><br></div><div>Done here. Thanks!<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> + if (!controls_r) {<br>
> + EPHYR_LOG_ERROR("Couldn't get XKB keyboard controls.");<br>
> + return FALSE;<br>
<br>
</span>For this one you check for errors, with the following ones you do not. Is there<br>
a reason for that?<br></blockquote><div> </div><div>Sincerely, there's not. I'm including the other checks as well. Thanks!<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
</span>Also, even though it will never matter much, could you first send all the<br>
requests and then get the replies?<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>I've reorganized the code to send all requests at beginning and process<br></div><div>the replies as they are needed. I'm submitting a v3 right now. <br></div></div><br></div><div class="gmail_extra">Thank you very much!<br clear="all"></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><b>Laércio de Sousa</b><br></div><div style="text-align:center"><div style="text-align:left"><i>Orientador de Informática</i></div><div style="text-align:left"><u>Escola Municipal "Professor Eulálio Gruppi"</u></div><div style="text-align:left"><i>Rua Ismael da Silva Mello, 559, Mogi Moderno</i></div><i><div style="text-align:left"><i>Mogi das Cruzes - SP</i></div><div style="text-align:left"><i>CEP 08717-390</i></div></i></div><div><span style="font-family:arial;font-size:small">Telefone: (11) 4726-8313</span></div></div></div>
</div></div>