@dkondor commented on this pull request.


> @@ -1055,6 +1055,14 @@ gint main_lib(gint argc, gchar **argv)
 
 #ifdef ENABLE_NLS
        main_locale_init(utils_resource_dir(RESOURCE_DIR_LOCALE), 
GETTEXT_PACKAGE);
+#endif
+       /* Magic ID used on X11 and Wayland for bringing our existing window on 
top;
+        * need to read it here, since GTK will clear this from the environment 
in
+        * gtk_init () (called from parse_command_line_options () below). Need 
to
+        * make a copy, since the value is not guaranteed to be valid after 
calling
+        * unsetenv() (which is done by GTK). */
+#ifdef HAVE_SOCKET
+       gchar *desktop_startup_id = g_strdup(getenv("DESKTOP_STARTUP_ID"));
 #endif

Done

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4071#discussion_r1859307266
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/4071/review/[email protected]>

Reply via email to