mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-26 01:59:57 +00:00
xfree86: re-added configureFilesSection() to xf86Configure.c
Signed-off-by: RotaryBoot58 <petersoncraft20@proton.me>
This commit is contained in:
parent
a2cbac93f4
commit
5798dcb798
1 changed files with 19 additions and 0 deletions
|
|
@ -260,6 +260,24 @@ optionTypeToString(OptionValueType type)
|
|||
}
|
||||
}
|
||||
|
||||
static XF86ConfFilesPtr
|
||||
configureFilesSection(void)
|
||||
{
|
||||
parsePrologue(XF86ConfFilesPtr, XF86ConfFilesRec);
|
||||
|
||||
if(xf86ModulePath)
|
||||
{
|
||||
ptr->file_modulepath = XNFstrdup(xf86ModulePath);
|
||||
}
|
||||
|
||||
if(defaultFontPath)
|
||||
{
|
||||
ptr->file_fontpath = XNFstrdup(defaultFontPath);
|
||||
}
|
||||
|
||||
return ptr;
|
||||
}
|
||||
|
||||
static XF86ConfDevicePtr
|
||||
configureDeviceSection(int screennum)
|
||||
{
|
||||
|
|
@ -666,6 +684,7 @@ DoConfigure(void)
|
|||
screen_ptr);
|
||||
}
|
||||
|
||||
xf86config->conf_files = configureFilesSection();
|
||||
xf86config->conf_modules = configureModuleSection();
|
||||
xf86config->conf_flags = configureFlagsSection();
|
||||
xf86config->conf_videoadaptor_lst = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue