Only add wsfb to the list of autoconfigured drivers if no other matches were
found. Makes xorg.conf-less X work again on sparc64 and macppc systems with a single display adapter. ok matthieu@, beck@
This commit is contained in:
parent
e638acc733
commit
42fc690ae9
@ -524,7 +524,9 @@ listPossibleVideoDrivers(char *matches[], int nmatches)
|
||||
if (i < (nmatches - 1)) {
|
||||
#if defined(__OpenBSD__)
|
||||
# if !defined(__i386__) && !defined(__amd64__)
|
||||
matches[i++] = xnfstrdup("wsfb");
|
||||
if (i == 0) {
|
||||
matches[i++] = xnfstrdup("wsfb");
|
||||
}
|
||||
# endif
|
||||
#elif !defined(__linux__) && defined(__sparc__)
|
||||
matches[i++] = xnfstrdup("wsfb");
|
||||
|
Loading…
Reference in New Issue
Block a user