diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-12-17 13:00:23 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-12-17 13:00:23 -0800 |
commit | c340932db548d1a3d4fc5bbc682b7730e5b2cf4a (patch) | |
tree | dd8126ee707cb69137d2f96bee5d5cb81ef2bb2f | |
parent | 89c1675d128da3477cac6858c4249b839ec68346 (diff) |
Apple: Allow defaults option that maps to a -dpi server command line in startx
-rw-r--r-- | startx.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -128,6 +128,10 @@ if [ x`defaults read $X11_PREFS_DOMAIN nolisten_tcp` = x1 ] ; then defaultserverargs="$defaultserverargs -nolisten tcp" fi +if defaults read $X11_PREFS_DOMAIN dpi >& /dev/null ; then + defaultserverargs="$defaultserverargs -dpi `defaults read $X11_PREFS_DOMAIN dpi`" +fi + for ((d=0; ; d++)) ; do [[ -e /tmp/.X$d-lock ]] || break done |