On Mon, Aug 19, 2002 at 11:50:57AM +0000, Mikhael Goikhman wrote: [snip] > I already managed to find that this is because of FvwmEvent a week ago, > but for some reason I thought it happens without it too. Minimal config: > > *FvwmEvent-NewWindow: PassId > *FvwmEvent-NewWindow: add_window Something > > DestroyFunc Something > AddToFunc Something > + I Next (bla-bla) Nop > > FvwmEvent FvwmEvent-NewWindow > Style mywindow GrabFocus > > # now from FvwmConsole or another focused xterm with pointer in it: > Exec xterm -n mywindow
First, fvwm ignores the icon name of the window when looking up the style, so the above line can never have worked. Use Exec xterm -T mywindow ^^^^ instead. With that, the window does get focus, but the focus is taken away immediately. It requires some digging to figure out why that happens. Bye Dominik ^_^ ^_^ -- Dominik Vogt, mail: [EMAIL PROTECTED], phone: 0721/91374-382 Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]