From: Guido Günther Date: Tue, 11 Jan 2022 19:27:25 +0000 (+0100) Subject: print-editor: Use gtk_window_present() X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~19^2~3^2~6^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a36594e754f8982a00160a18aec65ffbc11297f9;p=gtk4.git print-editor: Use gtk_window_present() This lets xdg-activation work as otherwise gdk_wayland_surface_focus is never invoked. --- diff --git a/demos/print-editor/print-editor.c b/demos/print-editor/print-editor.c index bfadd5e494..ca5d143d06 100644 --- a/demos/print-editor/print-editor.c +++ b/demos/print-editor/print-editor.c @@ -871,7 +871,7 @@ activate (GApplication *app) update_ui (); - gtk_widget_show (main_window); + gtk_window_present (GTK_WINDOW (main_window)); } static void