summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Paalanen <ppaalanen@gmail.com>2011-12-07 08:47:49 +0200
committerPekka Paalanen <ppaalanen@gmail.com>2011-12-07 08:50:34 +0200
commit02dfb7514547e48045e20ed57f361cfc7826ada3 (patch)
tree233604fc3edca189dcd1b737ac374b1d874e555f
parent7172d9e22d49507db158994129672772f4a60a46 (diff)
desktop-shell: no need to unset WAYLAND_SOCKET
As of commit "client: unset WAYLAND_SOCKET env variable", 58bb064afa3bfc706e3b30dd170804235aa272ea, in the Wayland core, the Wayland library will unset the environment variable automatically. No need to explicitly unset it again here. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
-rw-r--r--clients/desktop-shell.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
index 69573c2..8c3ef5c 100644
--- a/clients/desktop-shell.c
+++ b/clients/desktop-shell.c
@@ -606,9 +606,6 @@ int main(int argc, char *argv[])
return -1;
}
- /* The fd is our private, do not confuse our children with it. */
- unsetenv("WAYLAND_SOCKET");
-
wl_display_add_global_listener(display_get_display(desktop.display),
global_handler, &desktop);