<div dir="ltr">On Thu, Feb 7, 2013 at 5:05 AM, Jochen Keil <span dir="ltr">&lt;<a href="mailto:jochen.keil@gmail.com" target="_blank">jochen.keil@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">
So far, so good, yet it doesn&#39;t work. The reason lies in Operations.hs,<br>
specifically in the &quot;windows&quot; function:<br>
<br>
  io $ restackWindows d (map fst vs)<br>
<br>
This makes all my efforts useless. For now I&#39;ve put the raiseWindow line<br>
into the logHook where it works, but I think this is not the right place.<br>
<br>
Any suggestions how to improve this? Would a patch for making the<br>
restacking behaviour configurable be accepted?<br></blockquote><div><br></div><div>I can&#39;t find the original bug where I proposed changing the above to raiseWindow the focused window instead of hammering the entire z-order; but I reference it in &lt; <a href="https://code.google.com/p/xmonad/issues/detail?id=346#c13">https://code.google.com/p/xmonad/issues/detail?id=346#c13</a> &gt;.  But that change would fix or mitigate a number of issues, and probably make the floating layer issues a bit more tractable.</div>
<div><br></div><div>It could (and probably should) be argued that stacking belongs in the layout, probably by a new field which existing layouts would default.  A global change to the stacking policy would then be a layout modifier along the lines of avoidStruts or smartBorders, plus custom layouts could also replace it at need.</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>