diff --git a/app/display/gimpdisplayshell-dnd.c b/app/display/gimpdisplayshell-dnd.c index 7efcf588aa..bc8fdbeb96 100644 --- a/app/display/gimpdisplayshell-dnd.c +++ b/app/display/gimpdisplayshell-dnd.c @@ -182,7 +182,9 @@ static void gimp_display_shell_dnd_flush (GimpDisplayShell *shell, GimpImage *image) { - gtk_window_present (GTK_WINDOW (shell)); + GtkWidget *toplevel = gtk_widget_get_toplevel (GTK_WIDGET (shell)); + + gtk_window_present (GTK_WINDOW (toplevel)); gimp_image_flush (image);