From 25f4e597eed7a216953b01f7693c429bec05b0c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Guido=20G=C3=BCnther?= Date: Tue, 11 Jan 2022 20:27:25 +0100 Subject: [PATCH] print-editor: Use gtk_window_present() This lets xdg-activation work as otherwise gdk_wayland_surface_focus is never invoked. --- demos/print-editor/print-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2