Refine X11 test

pull/484/head
trilene 4 years ago
parent c461c0aac0
commit e8e88e7d79
  1. 2
      src/CallManager.cpp

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

Loading…
Cancel
Save