<div dir="ltr">On Thu, May 31, 2012 at 10:35 PM, Michael Norrish <span dir="ltr">&lt;<a href="mailto:michael.norrish@nicta.com.au" target="_blank">michael.norrish@nicta.com.au</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"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
    appName =? &quot;xmobar&quot; --&gt; liftX . withDisplay . (io .) . flip raiseWindow =&lt;&lt; ask<br>
</blockquote>
<br></div>xmonad.hs:122:76:<br>
    Couldn&#39;t match expected type `Endo WindowSet&#39; with actual type `()&#39;<br>
    Expected type: Display -&gt; Window -&gt; IO (Endo WindowSet)<br>
      Actual type: Display -&gt; Window -&gt; IO ()<br>
    In the first argument of `flip&#39;, namely `raiseWindow&#39;<br>
    In the second argument of `(.)&#39;, namely `flip raiseWindow&#39;<br>
<br>
But I&#39;ll try to get back to the list with a version that works (for future reference).</blockquote><div><br></div><div>*sigh* I always forget mangling it back to the type ManageHook expects...</div><div><br></div><div>
    appName =? &quot;xmobar&quot; --&gt; (liftX . withDisplay . (io .) . flip raiseWindow =&lt;&lt; ask) &lt;+&gt; idHook</div><div><br></div><div>and may require extra parentheses depending on how you mix it into an existing ManageHook.</div>
<div><br></div></div>-- <br>brandon s allbery                                      <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>wandering unix systems administrator (available)     (412) 475-9364 vm/sms<br>
<br>
</div>