summaryrefslogtreecommitdiff
path: root/launchd/org.x.X11.plist.cpp
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremy@yuffie.local>2007-12-15 15:52:22 -0800
committerJeremy Huddleston <jeremy@yuffie.local>2007-12-15 15:52:22 -0800
commit3c5ae3a242895f53d4f27fefb785f2725077a55d (patch)
tree3aa2bbff25ca22946223e2c80afed44d0c7688e2 /launchd/org.x.X11.plist.cpp
parentf5db2f6bc21b8d589b92c0f1d60bd6ec8da21ae0 (diff)
Changed x11-exec to actually start X11.app. X11.app will be responsible for calling xinit.
Diffstat (limited to 'launchd/org.x.X11.plist.cpp')
-rw-r--r--launchd/org.x.X11.plist.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/launchd/org.x.X11.plist.cpp b/launchd/org.x.X11.plist.cpp
index 822f1f7..6aed8d8 100644
--- a/launchd/org.x.X11.plist.cpp
+++ b/launchd/org.x.X11.plist.cpp
@@ -6,9 +6,12 @@
<string>org.x.X11</string>
<key>ProgramArguments</key>
<array>
- <string>__bindir__/startx</string>
- <string>--</string>
+#ifdef __APPLE__
+ <string>__libexecdir__/x11-exec</string>
<string>-launchd</string>
+#else
+ <string>__bindir__/startx</string>
+#endif
</array>
<key>Sockets</key>
<dict>