
22 Sep
2009
22 Sep
'09
10:33 p.m.
* 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