On 19 Aug 2002 16:53:40 +0200, Dominik Vogt wrote: > > On Mon, Aug 19, 2002 at 11:50:57AM +0000, Mikhael Goikhman wrote: > > On 19 Aug 2002 11:13:13 +0200, Dominik Vogt wrote: > > > On Sun, Aug 18, 2002 at 01:21:48AM +0000, Mikhael Goikhman wrote: > [snip] > > > > > > > > > I can reproduce this problem, i.e. ClickToFocus does not set GrabFocus, > > > > although I see in the code it does set. > > > > > > It now only sets the default. Once GrabFocus or GrabFocusOff is > > > used, the default is ignored. > > > > Well, try without config, do "Style some_xterm ClickToFocus", then start > > xterm -n some_xterm, no GrabFocus. So the default is always ignored. > > I see. Does it work as expected if you remove the GrabFocusOff > and GrabFocusTransient styles from ConfigFvwmDefaults? I don't > use that file myself.
If GrabFocusOff is removed from ConfigFvwmDefaults, the default logic of GrabFocus works for the ClickToFocus window, but then GrabFocus remains even if you change this style to MouseFocus/SloppyFocus. Style mywindow ClickToFocus Style mywindow MouseFocus is equivalent to: Style mywindow GrabFocus and the reverse order is still equivalent to setting GrabFocus. Regards, Mikhael. -- 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]