[xmonad] UnManageHook?
Adam Vogt
vogt.adam at gmail.com
Tue Sep 22 18:33:57 EDT 2009
* On Tuesday, September 22 2009, Jan Vornberger wrote:
>Hey!
>
>I'm currently looking into how to re-implement my PositionStore in a way
...
>So I was thinking of adding an 'UnManageHook' as a counter part to
>ManageHooks so that modules from contrib can be notified when a window
>is unmapped.
>
>Any objections against this? Or is there an alternative way, which I
>didn't consider?
>
>Regards,
>
>Jan
Have a look at the handleEventHook. I think you can achieve your goal by
matching on the DestroyWindowEvent constructor, but I'm not sure if that
event is always sent. Layouts also get to listen to messages that are
EventS too.
Thanks,
Adam
More information about the xmonad
mailing list