<div dir="ltr">On Thu, Dec 27, 2012 at 8:50 AM, Mario Pastorelli <span dir="ltr">&lt;<a href="mailto:pastorelli.mario@gmail.com" target="_blank">pastorelli.mario@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m trying to figure out why ShowWName doesn&#39;t use the dzen module to show the workspace name, what is the rule to use dzen instead of createNewWindow (for example) and why?<br>
</blockquote><div><br></div><div>Last I checked, dzen didn&#39;t have a way to remove itself after a timeout; if you want to do that, or you otherwise want to manipulate the window (say, update or remove and post a new one of the user immediately changes workspaces again), it&#39;s far easier to create it internally and pass the XID around than it is to try to find/save the XID via the ManageHook.  Especially if you don&#39;t want the window to be managed otherwise.  (Note that, for the same reason you can&#39;t tell apps to start on a specific workspace directly, you can&#39;t get an XID out of spawning an application; it isn&#39;t known until the window is created, and not identifiable as belonging to a particular application until the window is actually mapped, and the ManageHook will receive it at that point.)</div>
<div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div>