From aa203586202981836856d9cf9088620ae866185d Mon Sep 17 00:00:00 2001 From: Albert Safin Date: Fri, 26 Oct 2018 15:40:59 +0700 Subject: [PATCH] Export I3SOCK (#3476) --- src/startup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/startup.c b/src/startup.c index 6302d811..c5b7ad5d 100644 --- a/src/startup.c +++ b/src/startup.c @@ -190,6 +190,7 @@ void start_application(const char *command, bool no_startup_id) { /* Setup the environment variable(s) */ if (!no_startup_id) sn_launcher_context_setup_child_process(context); + setenv("I3SOCK", current_socketpath, 1); execl(_PATH_BSHELL, _PATH_BSHELL, "-c", command, NULL); /* not reached */