On Mon, Nov 24, 2003 at 04:19:25PM +0000, Mikhael Goikhman wrote: > It would be really nice if we had an additional parameter to DestroyStyle > and DestroyWindowStyle to destroy only one specific style option, not all > style entry options. This would allow a lot of new dynamical functionality. > In your case you destroy all window-specific changes, not just Icon.
That would be very cool, as WindowStyle is a brand new feature I havnt had a chance to do much else with it, so its working for me right now :) > > > DestroyFunc DeIconifyWithScreenshot > > AddToFunc DeIconifyWithScreenshot > > + I WindowID $0 DestroyWindowStyle > > + I Exec rm -f $HOME/.fvwm/icon.tmp.$0.png > > > > DestroyModuleConfig FvwmEvent-IconWatch: * > > *FvwmEvent-IconWatch: Cmd > > *FvwmEvent-IconWatch: PassID > > *FvwmEvent-IconWatch: deiconify DeIconifyWithScreenshot > > Please do not do it like this. The last 9 lines should be: > > DestroyFunc DeIconifyWithScreenshot > AddToFunc DeIconifyWithScreenshot > + I DestroyWindowStyle > + I Exec rm -f $HOME/.fvwm/icon.tmp.$[w.id].png > > DestroyModuleConfig FvwmEvent-IconWatch: * > *FvwmEvent-IconWatch: deiconify DeIconifyWithScreenshot > > Or to eliminate Exec call, even use: Test (f file) Exec exec rm file. > Ahh, I've seen you mention this before to someone else, Thanks :) > On another topic, reading the Gentoo forum, it seems that Gentoo package > of fvwm-themes is both old (0.6.2) and does not work with fvwm 2.5.x (how > is this possible?). This should be fixed by Gentoo people, I guess. > Thanks for reminding me, I'll get that updated. -- ------------------------------------- [EMAIL PROTECTED] | finger me for my gpg key. ------------------------------------------------------- -- 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]