summaryrefslogtreecommitdiff
path: root/openbox/openbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/openbox.c')
-rw-r--r--openbox/openbox.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 0006f438..0f2ba923 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -493,11 +493,8 @@ static void parse_env()
/* unset this so we don't pass it on unknowingly */
unsetenv("DESKTOP_STARTUP_ID");
- if (getenv("OPENBOX_CONFIG_NAMESPACE")) {
+ if (getenv("OPENBOX_CONFIG_NAMESPACE"))
ob_config_type = g_strdup(getenv("OPENBOX_CONFIG_NAMESPACE"));
- /* don't pass it on except if we restart */
- unsetenv("OPENBOX_CONFIG_NAMESPACE");
- }
}
static void parse_args(gint *argc, gchar **argv)