mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
dix: Remove -fn and -fc options to set default text/cursor fonts
I strongly suspect these never get used in the wild, and it's not an especially useful thing to do in any case.
This commit is contained in:
committed by
Adam Jackson
parent
4ebce1ed8b
commit
56ea4c769c
@@ -224,13 +224,12 @@ dix_main(int argc, char *argv[], char *envp[])
|
||||
ErrorF("[dix] failed to set default font path '%s'",
|
||||
defaultFontPath);
|
||||
}
|
||||
if (!SetDefaultFont(defaultTextFont)) {
|
||||
FatalError("could not open default font '%s'", defaultTextFont);
|
||||
if (!SetDefaultFont("fixed")) {
|
||||
FatalError("could not open default font");
|
||||
}
|
||||
|
||||
if (!(rootCursor = CreateRootCursor(NULL, 0))) {
|
||||
FatalError("could not open default cursor font '%s'",
|
||||
defaultCursorFont);
|
||||
FatalError("could not open default cursor font");
|
||||
}
|
||||
|
||||
#ifdef PANORAMIX
|
||||
|
||||
Reference in New Issue
Block a user