and further testing shows that they are vaild, just you can't get properties off them until they're mapped.<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 26, 2012 at 2:25 PM, Micah Nordland <span dir="ltr"><<a href="mailto:mpnordland@gmail.com" target="_blank">mpnordland@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">And so, I tried dropping my getWMName code into my MapRequest handler, and I was able to get the window's name. It seems that the window id's you get from CreateNotifys are bad.<div class="HOEnZb">
<div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Nov 26, 2012 at 12:54 PM, Micah Nordland <span dir="ltr"><<a href="mailto:mpnordland@gmail.com" target="_blank">mpnordland@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Well, turns out that error wasn't a "Success". I was using err->response_type, instead of err->error_code, so all those errors were BadWindow errors. I don't know how though, as I get the windows from CreateNotifys.<div>
<div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Nov 26, 2012 at 5:15 AM, Micah Nordland <span dir="ltr"><<a href="mailto:mpnordland@gmail.com" target="_blank">mpnordland@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
never mind about that error, I did a little work using xcb_event_get_error_label, and all those errors were returning Success, so I'm still doing something not quite right with the strings.<div><div>
<div class="gmail_extra"><br>
<br><div class="gmail_quote">On Mon, Nov 26, 2012 at 5:03 AM, Micah Nordland <span dir="ltr"><<a href="mailto:mpnordland@gmail.com" target="_blank">mpnordland@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That reduces it to always nothing, but I think that this is not the problem, I'm getting an error in my event loop every time I call this, so I think I need to figure out how to use the checked functions. I am coming from python, and this is a little harder than xpyb. for instance, can anybody tell me why xcb_icccm_get_wm_name_reply requires a pointer to a pointer to the error struct?<div class="gmail_extra">
<div>
<br><br><div class="gmail_quote">On Sun, Nov 25, 2012 at 7:35 AM, Christ-Jan Wijtmans <span dir="ltr"><<a href="mailto:cj.wijtmans@gmail.com" target="_blank">cj.wijtmans@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You might be having issues with character encoding maybe? try printing<br>
it in unicode<br>
</blockquote></div><br><br clear="all"><div><br></div></div><div>-- <br>Praising my Savior all the day long,<div>Micah Nordland</div><br>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Praising my Savior all the day long,<div>Micah Nordland</div><br>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Praising my Savior all the day long,<div>Micah Nordland</div><br>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Praising my Savior all the day long,<div>Micah Nordland</div><br>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Praising my Savior all the day long,<div>Micah Nordland</div><br>
</div>