]> Dogcows Code - chaz/openbox/blobdiff - openbox/startupnotify.c
only unset the startup_desktop_id once, and dont free the string we pass to putenv
[chaz/openbox] / openbox / startupnotify.c
index 8bc38da2c7d59a8712bbfcb81e92f02dbe787641..78a1e94afd63e03e0f6b5859a4d49ba4d5d96751 100644 (file)
@@ -58,15 +58,8 @@ static void sn_event_func(SnMonitorEvent *event, gpointer data);
 
 void sn_startup(gboolean reconfig)
 {
-    gchar *s;
-
     if (reconfig) return;
 
-    /* unset this so we don't pass it on unknowingly */
-    s = g_strdup("DESKTOP_STARTUP_ID");
-    putenv(s);
-    g_free(s);
-
     sn_display = sn_display_new(ob_display, NULL, NULL);
     sn_context = sn_monitor_context_new(sn_display, ob_screen,
                                         sn_event_func, NULL, NULL);
This page took 0.023512 seconds and 4 git commands to generate.