From 33b7ac209e4bdd6b20b4aad6a201a353aab98b14 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Wed, 8 Dec 2021 05:31:30 +0400 Subject: [PATCH] Don't use QPlatformNativeInterface-based XCB::GetRootWindowFromQt --- Telegram/SourceFiles/platform/linux/main_window_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp index 88066f224..75127c629 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; }