diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/actions.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/actions.c b/src/actions.c index e866953..31e8cda 100644 --- a/src/actions.c +++ b/src/actions.c @@ -1014,10 +1014,7 @@ spawn(char *cmd) { /* Some process setup to make sure the spawned process runs in its own session. */ - /* Only put the display env if we don't have it already. If we - don't do this it core dumps on FreeBSD. */ - if (!getenv("DISPLAY")) - putenv(current_screen()->display_string); + putenv(current_screen()->display_string); #ifdef HAVE_SETSID setsid(); #endif |