summary refs log tree commit diff
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2021-02-20 17:33:04 -0500
committertrilene <trilene@runbox.com>2021-02-20 17:33:04 -0500
commite8e88e7d79842f1636905f3ce86169bb950767f4 (patch)
tree51851b1d433cc2165f16067580afe32ae4c98910
parentRequire GStreamer 1.18 for voip support (diff)
downloadnheko-e8e88e7d79842f1636905f3ce86169bb950767f4.tar.xz
Refine X11 test
-rw-r--r--src/CallManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CallManager.cpp b/src/CallManager.cpp

index b920cfed..de04ed3b 100644 --- a/src/CallManager.cpp +++ b/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