Refine X11 test

This commit is contained in:
trilene 2021-02-20 17:33:04 -05:00
parent c461c0aac0
commit e8e88e7d79
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ CallManager::callsSupported()
bool bool
CallManager::screenShareSupported() CallManager::screenShareSupported()
{ {
return std::getenv("DISPLAY") != nullptr; return std::getenv("DISPLAY") && !std::getenv("WAYLAND_DISPLAY");
} }
bool bool