On Wed, Aug 29, 2007 at 06:45:34PM +0200, Ulrich Mueller wrote: > > 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.
Have a look at the FvwmEvent module, in particular the add_window and destroy_window events. Greetings, David -- David Vilar Torres RWTH Aachen Tel: (+49) 241 80 21611 Lehrstuhl f. Informatik 6 Fax: (+49) 241 80 22219 Ahornstr. 55 [EMAIL PROTECTED] D-52056 Aachen (Germany)
