
On Thu, Dec 27, 2007 at 07:52:00AM -0500, David Roundy wrote:
I was playing with this idea, but it doesn't seem so easy to me actually... doLayout is called not just when you move to a new workspace, but every time XMonad.Operations.windows is called... which probably makes this approach quite troublesome and probably impossible...
I think that should be pretty easy to handle. You just need a Bool data member in your layout modifier. You only print the message if the Bool is True, and when you print the message you set the Bool to False. Then you reset it to true when you get a Hide message.
...and it is not even difficult to figure that out, if you think a bit about it! ;)
David (who doesn't have time to play with your code)
I'll take care of the rest. Thanks a lot for the direction. Andrea