From 4755be4acef52f7b9c0f0955d154a1093536c2f8 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Thu, 24 Aug 2023 08:20:01 +0400 Subject: [PATCH] Add missing returns to skip taskbar Linux abstraction --- Telegram/SourceFiles/platform/linux/main_window_linux.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp index f6d48b3da..7db2d34e7 100644 --- a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp @@ -139,11 +139,13 @@ void XCBSetDesktopFileName(QWindow *window) { void SkipTaskbar(QWindow *window, bool skip) { if (const auto integration = WaylandIntegration::Instance()) { integration->skipTaskbar(window, skip); + return; } #ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION if (IsX11()) { XCBSkipTaskbar(window, skip); + return; } #endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION }