On Fri, Aug 01, 2014 at 11:20:37AM +0200, Walter Alejandro Iglesias wrote: > On Fri, Aug 01, 2014 at 06:45:55AM +0100, Dominik Vogt wrote: > > It doesn't work because you forget to destroy the window specific > > style. A style specified with the WindowStyle command is always > > preferred over styles specified with the Style command. > > I wake up this morning thinking exactly on that. I'd replaced Thumbnail > with Iconify in the ShowDesktop function (to speed it up) and forgot > about FvwmEvent in DeThumbnail. I had it in front of my nose! > > Sorry guys, I'm getting old and idiot.
No, the icon syntax is simply a pain. It took me half a day to figure out what's going wrong. Icon choices are simply unintuitive and hard to understand. > > You need > > to add this at the end of the DeThumbnail fucntion: > > > > + I DestroyWindowStyle > > I've added this to DeThumbnail and all works perfectly. Thanks Dominik. Youre welcome. :-) I'm glad that it works now. I had a tough fight with your configuration because I use FvwmCpp to process my config file, and then I have to replace *some* line continuations ('\') with "\\", but not all (the ones inside duoble quotes can be left unchanged). And I also noticed that if I define a MiniIcon style for the window and run the scripts too, the mini icon is displayed on top of the real icon. I wonder if that's a bug or if it's a secret feature that I could not find in the documentation yet. Ciao Dominik ^_^ ^_^ -- Dominik Vogt