Use remoting name for call to gdk_set_program_class
authorMike Hommey <mh@glandium.org>
Sun, 2 Sep 2018 22:37:40 +0000 (07:37 +0900)
committerCarsten Schoenert <c.schoenert@t-online.de>
Fri, 16 Sep 2022 14:56:20 +0000 (15:56 +0100)
Closes: #907574
Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Use-remoting-name-for-call-to-gdk_set_program_class.patch

widget/gtk/nsAppShell.cpp

index 0b3c0e18d19fc3c68ea251d871d1ede66eaf53cf..7f8d422e6b39b374fa0edd6977db42223e82795b 100644 (file)
@@ -293,7 +293,9 @@ nsresult nsAppShell::Init() {
       // See https://bugzilla.gnome.org/show_bug.cgi?id=747634
       //
       // Only bother doing this for the parent process, since it's the one
-      // creating top-level windows.
+      // creating top-level windows. (At this point, a child process hasn't
+      // received the list of registered chrome packages, so the
+      // GetBrandShortName call would fail anyway.)
       if (gAppData) {
         gdk_set_program_class(gAppData->remotingName);
       }