Method

GdkWindowset_focus_on_map

since: 2.6

Declaration [src]

void
gdk_window_set_focus_on_map (
  GdkWindow* window,
  gboolean focus_on_map
)

Description [src]

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.

Available since: 2.6

Parameters

focus_on_map

Type: gboolean

TRUE if the window should receive input focus when mapped.