summaryrefslogtreecommitdiff
path: root/launchd/user_startx/startx.plist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launchd/user_startx/startx.plist.cpp')
-rw-r--r--launchd/user_startx/startx.plist.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/launchd/user_startx/startx.plist.cpp b/launchd/user_startx/startx.plist.cpp
index 9d9c1a4..a43025f 100644
--- a/launchd/user_startx/startx.plist.cpp
+++ b/launchd/user_startx/startx.plist.cpp
@@ -8,6 +8,10 @@
<array>
<string>__xinitrcdir__/launchd_startx</string>
<string>__bindir__/startx</string>
+#ifdef LAUNCHAGENT_XSERVER_PATH
+ <string>--</string>
+ <string>LAUNCHAGENT_XSERVER_PATH</string>
+#endif
</array>
<key>Sockets</key>
<dict>