I want to call a function whenever I new window appears
and another function when a window is closed.
For instance when calling xcalc from a commandline.

So I wonder how this could be achieved without polling.
I'm happily using fvwm for quite a long time,
and there was always some way to do this or that.
Anyway I feel this is a basic feature of a window manager,
but couldn't find anything like

WindowOpenedCommand
WindowClosingCommand

Any idea is deeply appreciated.
Thanks.
Uli.

Reply via email to