Refine X11 test
This commit is contained in:
parent
c461c0aac0
commit
e8e88e7d79
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user