On Mon, Sep 25, 2017 at 5:04 PM, Didier Spaier <did...@slint.fr> 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