diff --git a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp index 88066f2246..75127c6293 100644 --- a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp @@ -94,7 +94,7 @@ void XCBSkipTaskbar(QWindow *window, bool skip) { return; } - const auto root = base::Platform::XCB::GetRootWindowFromQt(); + const auto root = base::Platform::XCB::GetRootWindow(connection); if (!root.has_value()) { return; }