From bfed997da5f083e3ddfbda440e114d1261d18b14 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Tue, 24 Jul 2012 08:47:29 -0700 Subject: XQuartz: Fix an issue where -dpi was not being passed to the server despite being set For some reason 'defaults' sometimes shows dpi in quotes and sometimes doesn't. Regression-from: 335937217a51e5e159a14463e0b1e3aedf35c6be Signed-off-by: Jeremy Huddleston --- startx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'startx.cpp') diff --git a/startx.cpp b/startx.cpp index cd795c7..c595b84 100644 --- a/startx.cpp +++ b/startx.cpp @@ -128,7 +128,7 @@ fi XCOMM The second check is the real one. The first is to hopefully avoid XCOMM needless syslog spamming. -if defaults read $X11_PREFS_DOMAIN 2> /dev/null | grep -q '"dpi"' && defaults read $X11_PREFS_DOMAIN dpi > /dev/null 2>&1 ; then +if defaults read $X11_PREFS_DOMAIN 2> /dev/null | grep -q 'dpi' && defaults read $X11_PREFS_DOMAIN dpi > /dev/null 2>&1 ; then defaultserverargs="$defaultserverargs -dpi `defaults read $X11_PREFS_DOMAIN dpi`" fi -- cgit v1.2.3