On 27 Jul 2004 10:17:00 +0200, Dominik Vogt wrote: > > On Sun, Jul 25, 2004 at 01:10:31AM -0400, Michael Guterl wrote: > > *FvwmEvent: Cmd exec > > *FvwmEvent: PassId > > *FvwmEvent: enter_window '/home/squeegy/fadein' > > *FvwmEvent: leave_window '/home/squeegy/fadeout' > > > > I am currently using this, but instead of having the WindowID passed > > to the applications, is it possible to have the frameid passed > > instead? > > You can't pass the frame window id at the moment, but you can make > a shell script [using xwininfo -id]:
I hope that whoever solves this natively does not add PassFrameId option to FvwmEvent. :) PassId option may be more or less obsolete. Instead, the correct solution would be to add a new variable, i.e.: DestroyModuleConfig FvwmEvent: * *FvwmEvent: enter_window MyFadeIn *FvwmEvent: leave_window MyFadeOut AddToFunc MyFadeIn + I Exec exec /home/squeegy/fadein $[w.frame_id] Alternativelly, if you know perl, then instead of these two scripts, you may compose a simple module in perl that listens to enter_window and leave_window events, and uses their frame_id argument. Regards, Mikhael. -- Visit the official FVWM web page at <URL: http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
