
[ci:skip-build] Never succeeds in time [ci:skip-vercheck] We need our Mauikit to be a rel newer than in Alpine repos, but the CI doesn't like it This includes a big rewrite in kwin which should increase the performance a whole lot, and some awesome other stuff
48 lines
1.5 KiB
Diff
48 lines
1.5 KiB
Diff
From d1ef99f8f8f4ee371485a470df53a495f5e5a830 Mon Sep 17 00:00:00 2001
|
|
From: Carl Schwan <carl@carlschwan.eu>
|
|
Date: Sat, 28 Nov 2020 12:30:00 +0100
|
|
Subject: [PATCH] Guard against correct version
|
|
|
|
---
|
|
src/csd/libappletdecoration/previewclient.cpp | 4 ++--
|
|
src/csd/libappletdecoration/previewclient.h | 3 ++-
|
|
2 files changed, 4 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/src/csd/libappletdecoration/previewclient.cpp b/src/csd/libappletdecoration/previewclient.cpp
|
|
index 425b983..d62a4a1 100644
|
|
--- a/src/csd/libappletdecoration/previewclient.cpp
|
|
+++ b/src/csd/libappletdecoration/previewclient.cpp
|
|
@@ -426,14 +426,14 @@ void PreviewClient::requestToggleKeepBelow()
|
|
setKeepBelow(!isKeepBelow());
|
|
}
|
|
|
|
-#if KDECORATION2_VERSION_MINOR >= 77
|
|
+#if KDECORATION2_VERSION_MINOR >= 20
|
|
void PreviewClient::requestShowWindowMenu(const QRect &rect)
|
|
{
|
|
Q_UNUSED(rect);
|
|
#else
|
|
void PreviewClient::requestShowWindowMenu()
|
|
{
|
|
-#end
|
|
+#endif
|
|
emit showWindowMenuRequested();
|
|
}
|
|
|
|
diff --git a/src/csd/libappletdecoration/previewclient.h b/src/csd/libappletdecoration/previewclient.h
|
|
index dabf411..f95f215 100644
|
|
--- a/src/csd/libappletdecoration/previewclient.h
|
|
+++ b/src/csd/libappletdecoration/previewclient.h
|
|
@@ -119,7 +119,8 @@ public:
|
|
void requestToggleKeepAbove() override;
|
|
void requestToggleKeepBelow() override;
|
|
void requestToggleShade() override;
|
|
-#if KDECORATION2_VERSION_MINOR >= 77
|
|
+
|
|
+#if KDECORATION2_VERSION_MINOR >= 20
|
|
void requestShowWindowMenu(const QRect &rect) override;
|
|
#else
|
|
void requestShowWindowMenu() override;
|
|
--
|
|
GitLab
|
|
|