diff --git a/gb.gtk/src/gmainwindow.cpp b/gb.gtk/src/gmainwindow.cpp index efc285670..6e5482f33 100644 --- a/gb.gtk/src/gmainwindow.cpp +++ b/gb.gtk/src/gmainwindow.cpp @@ -641,6 +641,9 @@ void gMainWindow::setVisible(bool vl) if (parent) gtk_window_set_transient_for(GTK_WINDOW(border), GTK_WINDOW(parent->border)); + + if (!_no_take_focus) + present(); } if (gApplication::mainWindow() == this)