Window.setFocusOnMap

Setting focus_on_map to FALSE hints the desktop environment that the window doesn’t want to receive input focus when it is mapped. focus_on_map should be turned off for windows that aren’t triggered interactively (such as popups from network activity).

On X, it is the responsibility of the window manager to interpret this hint. Window managers following the freedesktop.org window manager extension specification should respect it.

class Window
void
setFocusOnMap
()

Parameters

focusOnMap bool

TRUE if the window should receive input focus when mapped

Meta