<div dir="ltr">On Thu, Dec 27, 2012 at 8:50 AM, Mario Pastorelli <span dir="ltr"><<a href="mailto:pastorelli.mario@gmail.com" target="_blank">pastorelli.mario@gmail.com</a>></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'm trying to figure out why ShowWName doesn'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'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'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't want the window to be managed otherwise. (Note that, for the same reason you can't tell apps to start on a specific workspace directly, you can't get an XID out of spawning an application; it isn'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>