diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-01-30 14:04:04 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-01-31 21:58:35 +0100 |
commit | 0f818eb89f1d6f0f46efcda27c3f7db44e8a1230 (patch) | |
tree | 75c679cbf5fcc393d37d1cd7d89cd9a20b61b2aa /src/compositor.c | |
parent | fa1de6920331a1a91b08b8e6c55f91e99a3f82e5 (diff) |
Introduce weston-launchwinit
weston-launch starts weston and provides mechanism
for weston to set/drop drm master, open a tty,
and read input devices without being root.
Execution is allowed for local-active sessions
or users in the group weston-launch.
Diffstat (limited to 'src/compositor.c')
-rw-r--r-- | src/compositor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor.c b/src/compositor.c index ab184ac..c6a1d2d 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1991,6 +1991,7 @@ weston_compositor_init(struct weston_compositor *ec, struct wl_display *display) const char *extensions; ec->wl_display = display; + ec->launcher_sock = weston_environment_get_fd("WESTON_LAUNCHER_SOCK"); if (!wl_display_add_global(display, &wl_compositor_interface, ec, compositor_bind)) |