mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
DisplayServer: fix build on FreeBSD
This commit is contained in:
@@ -33,10 +33,12 @@ 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);
|
||||
|
||||
Reference in New Issue
Block a user