DisplayServer (FreeBSD): enable libdrm support

This commit is contained in:
李通洲
2023-12-03 12:10:52 +08:00
parent 36298b8e93
commit 42fd1a9cd7
3 changed files with 3 additions and 4 deletions
@@ -33,12 +33,10 @@ void ffConnectDisplayServerImpl(FFDisplayServerResult* ds)
ffdsConnectXlib(ds);
}
#ifdef __linux__
//This display detection method is display server independent.
//Use it if all connections failed
if(ds->displays.length == 0)
ffdsConnectDrm(ds);
#endif
//This fills in missing information about WM / DE by using env vars and iterating processes
ffdsDetectWMDE(ds);