From 36888f844f88547aadf59ac56a262c6c68f5db02 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 27 Apr 2021 19:35:47 +0400 Subject: [PATCH] Disable (crashing) capturer on Linux. --- Telegram/SourceFiles/calls/group/calls_group_panel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/calls/group/calls_group_panel.cpp b/Telegram/SourceFiles/calls/group/calls_group_panel.cpp index 10f2324ea0..75602a10f1 100644 --- a/Telegram/SourceFiles/calls/group/calls_group_panel.cpp +++ b/Telegram/SourceFiles/calls/group/calls_group_panel.cpp @@ -726,7 +726,9 @@ void Panel::refreshLeftButton() { _screenShare.create(widget(), st::groupCallScreenShareSmall); _screenShare->show(); _screenShare->setClickedCallback([=] { +#ifndef Q_OS_LINUX Ui::DesktopCapture::ChooseSource(this); +#endif // Q_OS_LINUX }); _screenShare->setText(tr::lng_group_call_screen_share()); _screenShare->setColorOverrides(_mute->colorOverrides());