Refine X11 test
This commit is contained in:
parent
c461c0aac0
commit
e8e88e7d79
@ -402,7 +402,7 @@ CallManager::callsSupported()
|
||||
bool
|
||||
CallManager::screenShareSupported()
|
||||
{
|
||||
return std::getenv("DISPLAY") != nullptr;
|
||||
return std::getenv("DISPLAY") && !std::getenv("WAYLAND_DISPLAY");
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user