all repos — openbox @ 1789d4564514c4cefe3d2e9d2b7b65119784b53c

openbox fork - make it a bit more like ryudo

fix a warning from crappy libc apis
Dana Jansens danakj@orodu.net
commit

1789d4564514c4cefe3d2e9d2b7b65119784b53c

parent

1cb287e130ee662002baeec809c42498da38b878

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M openbox/openbox.copenbox/openbox.c

@@ -512,7 +512,9 @@

static void parse_env() { /* unset this so we don't pass it on unknowingly */ - putenv("DESKTOP_STARTUP_ID"); + gchar *s = g_strdup("DESKTOP_STARTUP_ID"); + putenv(s); + g_free(s); } static void parse_args(gint *argc, gchar **argv)