Gtk.Window.prototype.set_focus_on_map

function set_focus_on_map(setting:Boolean):void {
    // Gjs wrapper for gtk_window_set_focus_on_map()
}

Windows may set a hint asking the desktop environment not to receive the input focus when the window is mapped. This function sets this hint.

Since 2.6

setting

true to let this window receive input focus on map