mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
xfree86: loader: add subdirs for input and video drivers
in the future, input and video drivers should reside in separate sub-directories. still supporting the old dirs until ABI 26. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
588f81cf84
commit
3cb5fc8f81
@@ -177,10 +177,13 @@ LoaderSetPath(const char *path)
|
||||
static const char *stdSubdirs[] = {
|
||||
// first try loading from per-ABI subdir
|
||||
XORG_MODULE_ABI_TAG "/",
|
||||
XORG_MODULE_ABI_TAG "/input/",
|
||||
XORG_MODULE_ABI_TAG "/input/", // deprecated -- dropped in ABI 26
|
||||
XORG_MODULE_ABI_TAG "/drivers/",
|
||||
XORG_MODULE_ABI_TAG "/drivers/input/",
|
||||
XORG_MODULE_ABI_TAG "/drivers/video/",
|
||||
XORG_MODULE_ABI_TAG "/extensions/",
|
||||
// now try loading from legacy / unversioned directories
|
||||
// will be dropped in ABI 26 -- proprietary drivers need some symlink logic
|
||||
"",
|
||||
"input/",
|
||||
"drivers/",
|
||||
|
||||
Reference in New Issue
Block a user