<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">perhaps there&#39;s something deeper I just don&#39;t get, but as far as I<br>

understand your problem comes from the fact that you do not know in<br>
which workspace you&#39;re handling a message.<br>
<br>
<br>
This is a quite trivial patch that just gives you a method for that:<br>
Thu Jan 31 13:42:23 CET 2008 &nbsp;Andrea Rossato &lt;<a href="mailto:andrea.rossato@unibz.it">andrea.rossato@unibz.it</a>&gt;<br>
 &nbsp;* Add handleMessageInWorkspace, a method that knows where to be<br>
 &nbsp; &nbsp;M ./XMonad/Core.hs +3<br>
 &nbsp; &nbsp;M ./XMonad/Operations.hs -2 +2<br>
<br>
which adds:<br>
handleMessageInWorkspace :: Workspace i (layout a) a -&gt; SomeMessage -&gt; X (Maybe (layout a))<br>
</blockquote><br>But it&#39;s not just about messages; we&#39;d also need doLayoutInWorkspace and emptyLayoutInWorkspace.&nbsp; In particular xinerama support would not work without those.&nbsp; Since PerWorkspace is the only layout that could possibly use this information, adding three new methods to the LayoutClass just for this is almost certainly not the way to go.<br>
<br>-Brent<br></div>