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.8.3+ds-2+rpi1~3^2~20^2~4^2~355^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=25f4e597eed7a216953b01f7693c429bec05b0c9;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