From 7bc5f0ed909780feb60c4887a307443bb26b908b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Wed, 29 Aug 2018 13:29:50 +0200 Subject: [PATCH] main: Set program name to APP_ID This makes sure we end up with the correct xdg app_id in Wayland: before: [943832,359] -> xdg_toplevel@27.set_app_id("calls") after: [1180814,499] -> xdg_toplevel@27.set_app_id("sm.puri.Calls") Closes #8 --- src/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.c b/src/main.c index f74827b..367c2a7 100644 --- a/src/main.c +++ b/src/main.c @@ -70,6 +70,7 @@ main (int argc, int status; app = gtk_application_new (APP_ID, G_APPLICATION_FLAGS_NONE); + g_set_prgname (APP_ID); g_signal_connect (app, "activate", G_CALLBACK (show_window), NULL); status = g_application_run (G_APPLICATION (app), argc, argv); g_object_unref (app);