set_focus_on_map


Description:

[ Version ( since = "2.6" ) ]
public void set_focus_on_map (bool focus_on_map)

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.

Parameters:

this

a toplevel Window

focus_on_map

true if the window should receive input focus when mapped