summaryrefslogtreecommitdiff
path: root/kde-apps/yakuake/files/yakuake-23.04.0-missing-ifdef.patch
blob: aae30407060cce44e38a36a4fbfdeb442b62a1f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 0901b2f27fdfb9092f7d56da2a9129fa4b5e1183 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Sat, 22 Apr 2023 14:10:34 +0200
Subject: [PATCH] Add missing HAVE_KWAYLAND ifdef

Follow-up to 91a90aa6f30e95d2927d9d089eb5c4f429677080

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
 app/mainwindow.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp
index 9f6dca0..6f21a21 100644
--- a/app/mainwindow.cpp
+++ b/app/mainwindow.cpp
@@ -933,10 +933,12 @@ void MainWindow::applyWindowProperties()
             KWindowSystem::setState(winId(), NET::KeepAbove | NET::SkipTaskbar | NET::SkipPager);
     }
 
+#if HAVE_KWAYLAND
     if (m_isWayland && m_plasmaShellSurface) {
         m_plasmaShellSurface->setSkipTaskbar(true);
         m_plasmaShellSurface->setSkipSwitcher(true);
     }
+#endif
 
     KX11Extras::setOnAllDesktops(winId(), Settings::showOnAllDesktops());
     KWindowEffects::enableBlurBehind(windowHandle(), m_sessionStack->wantsBlur());
-- 
2.40.0