summaryrefslogtreecommitdiff
path: root/packages/e17/entrance/set-display-env.patch
diff options
context:
space:
mode:
authorJustin Patrin <papercrane@gmail.com>2005-09-02 23:22:19 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-02 23:22:19 +0000
commit98c4ffd492b19495c5cd58d6106fd927bf68f638 (patch)
tree920bee35843e5f93ea8985be21309ac09a1482f4 /packages/e17/entrance/set-display-env.patch
parent7029d7e6852d5528d7b90b538ec6709d6ba968c6 (diff)
entrance: set DISPLAY before calling Xinit
Diffstat (limited to 'packages/e17/entrance/set-display-env.patch')
-rw-r--r--packages/e17/entrance/set-display-env.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/e17/entrance/set-display-env.patch b/packages/e17/entrance/set-display-env.patch
new file mode 100644
index 0000000000..37bfc1c2c8
--- /dev/null
+++ b/packages/e17/entrance/set-display-env.patch
@@ -0,0 +1,11 @@
+diff -Nur entrance~/src/daemon/spawner.c entrance/src/daemon/spawner.c
+--- entrance~/src/daemon/spawner.c 2005-09-02 14:00:29.000000000 -0700
++++ entrance/src/daemon/spawner.c 2005-09-02 15:53:31.000000000 -0700
+@@ -199,6 +199,7 @@
+ free(d->client.homedir);
+ d->client.homedir = NULL;
+
++ setenv("DISPLAY", d->name, 1);
+ snprintf(entrance_cmd, PATH_MAX, "%s -d %s", ENTRANCE, d->name);
+ if (d->config)
+ snprintf(entrance_cmd, PATH_MAX, "%s -d %s -c \"%s\" -z %d",