[ On Wednesday, June 10, 2009 at 16:23:09 (+0100), Thomas Adam wrote: ] > Subject: Re: FVWM: focus question > > 2009/6/10 Ingo Wardinski <i...@gfz-potsdam.de>: > > Hi all, > > I recently upgraded to fvwm 2.5.26. Since then I have been observing > > that gnuplot x11 windows steal focus. for instance, I type a gnuplot > > plotting command in an xterm then window showing the plot is getting > > the focus even if the mouse is not in this window. In order to put the > > focus back on my xterm I have to move the mouse out of the xterm and > > back in. Sometimes, I feel very unpleasant with this behaviour. > > Further details, I use: > > ColormapFocus FollowsFocus > > Style * GrabFocusOff > > Style * MouseFocus > > Style * SloppyFocus > > This is silly -- in this case SloppyFocus overrides the definition for > MouseFocus -- so remove the MouseFocus style completely. > > > # > > I tried > > > > Style Gnuplot FPClickToFocus, !FPFocusByProgram > > You would have meant "!FPFocusByFunction" in this case, and -not- > !FPFocusByProgram since in this case, the GnuPlot window you're > describing is subject to the EWMHActivateWindowFunc -- the actual > solution to your problem would be the following: > > DestroyFunc EWMHActivateWindowFunc > > ... as many users find the default behaviour annoying. > > -- Thomas Adam
Thanks, it werks. ingo