Commit b3b425c8 authored by Kristian Høgsberg's avatar Kristian Høgsberg
Browse files

xserver: use $bindir prefix when launching X

parent 535e2c65
......@@ -3,6 +3,7 @@ bin_PROGRAMS = wayland-compositor
AM_CPPFLAGS = \
-DDATADIR='"$(datadir)"' \
-DMODULEDIR='"$(moduledir)"' \
-DBINDIR='"$(bindir)"' \
$(COMPOSITOR_CFLAGS)
wayland_compositor_LDFLAGS = -export-dynamic
......
......@@ -483,8 +483,8 @@ wlsc_xserver_handle_event(int listen_fd, uint32_t mask, void *data)
snprintf(logfile, sizeof logfile,
"/tmp/x-log-%d", mxs->display);
if (execl("/usr/bin/Xorg",
"/usr/bin/Xorg",
if (execl(BINDIR "/Xorg",
BINDIR "/Xorg",
display,
"-wayland",
"-rootless",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment