summaryrefslogtreecommitdiff
path: root/kde-apps/yakuake/files/yakuake-23.04.0-missing-ifdef.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/yakuake/files/yakuake-23.04.0-missing-ifdef.patch')
-rw-r--r--kde-apps/yakuake/files/yakuake-23.04.0-missing-ifdef.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/kde-apps/yakuake/files/yakuake-23.04.0-missing-ifdef.patch b/kde-apps/yakuake/files/yakuake-23.04.0-missing-ifdef.patch
new file mode 100644
index 000000000000..aae30407060c
--- /dev/null
+++ b/kde-apps/yakuake/files/yakuake-23.04.0-missing-ifdef.patch
@@ -0,0 +1,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
+