Xquartz: Use org.x.X11 instead of com.apple.X11 for preferences

Fixed inconsistency so preferences get read from the correct source.
(cherry picked from commit a74c38bd9f)
This commit is contained in:
Jeremy Huddleston 2007-12-08 01:24:58 -08:00
parent 41a0aeaae9
commit 740cc54f08

View File

@ -138,8 +138,7 @@ read_boolean_pref (CFStringRef name, int default_)
int value;
Boolean ok;
value = CFPreferencesGetAppBooleanValue (name,
CFSTR ("com.apple.x11"), &ok);
value = CFPreferencesGetAppBooleanValue (name, CFSTR ("org.x.x11"), &ok);
return ok ? value : default_;
}