Re: FVWM: Which setting to give focus to a window that just popped up?
Hello, Le 26/09/2017 à 01:12, Jaimos Skriletz a écrit : > It might be you want to change the focus policy to ClickToFocus, this > is most like windows, where you have to click a window for it to gain > focus and thus focus is not tied to mouse location. > > Style * ClickToFocus Thanks for your answer Jaimos. It seems that the issue was that FPGrabFocus, implicitly set when using ClickToFocus, was overridden by this line, to which I didn't pay enough attention, in the default config file: Style * TileCascadePlacement, GrabFocusOff, !UsePPosition Removing GrabFocusOff from it did the trick. Have a nice day, Didier
Re: FVWM: Which setting to give focus to a window that just popped up?
On Mon, Sep 25, 2017 at 5:04 PM, Didier Spaier wrote: > Hello, > > So, she would like that when she types a command that creates a window, > or select an application menu entry (e.g. from the application menu > plugged in lxpanel), this window be always given the focus. Some > examples of applications associated to such windows: The default focus policy is SloppyFocus which gives focus to the window under the mouse (with some special rules about the root window), so if a window is created and not under the mouse even with GrabFocus it will loose focus based on where the mouse is located (or if the mouse gets moved). It might be you want to change the focus policy to ClickToFocus, this is most like windows, where you have to click a window for it to gain focus and thus focus is not tied to mouse location. Style * ClickToFocus jaimos