Commit 3943d9fe authored by Jehan's avatar Jehan

app: give focus back to quit dialog after changing active shell.

Otherwise keyboard interaction (like hitting Escape or ctrl-d) ends up
broken and you may not realize immediately the dialog lost focus since
it is still the top window.
parent c4bb7089
......@@ -413,7 +413,12 @@ quit_close_all_dialog_image_activated (GimpContainerView *view,
GimpDisplay *display = list->data;
if (gimp_display_get_image (display) == image)
gimp_display_shell_present (gimp_display_get_shell (display));
{
gimp_display_shell_present (gimp_display_get_shell (display));
/* We only want to update the active shell. Give back keyboard
* focus to the quit dialog after this. */
gtk_window_present (GTK_WINDOW (dialog->dialog));
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment