9aa3a65a83
[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.6 KiB
Diff
48 lines
1.6 KiB
Diff
From 535ee9e32a33603c723bd6a4a5ce59955fa48b38 Mon Sep 17 00:00:00 2001
|
|
From: Carl Schwan <carl@carlschwan.eu>
|
|
Date: Sat, 28 Nov 2020 12:16:18 +0100
|
|
Subject: [PATCH] Fix compilation with master kdecoration2
|
|
|
|
---
|
|
src/csd/libappletdecoration/previewclient.cpp | 6 ++++++
|
|
src/csd/libappletdecoration/previewclient.h | 4 ++++
|
|
2 files changed, 10 insertions(+)
|
|
|
|
diff --git a/src/csd/libappletdecoration/previewclient.cpp b/src/csd/libappletdecoration/previewclient.cpp
|
|
index 907d02f..425b983 100644
|
|
--- a/src/csd/libappletdecoration/previewclient.cpp
|
|
+++ b/src/csd/libappletdecoration/previewclient.cpp
|
|
@@ -426,8 +426,14 @@ void PreviewClient::requestToggleKeepBelow()
|
|
setKeepBelow(!isKeepBelow());
|
|
}
|
|
|
|
+#if KDECORATION2_VERSION_MINOR >= 77
|
|
+void PreviewClient::requestShowWindowMenu(const QRect &rect)
|
|
+{
|
|
+ Q_UNUSED(rect);
|
|
+#else
|
|
void PreviewClient::requestShowWindowMenu()
|
|
{
|
|
+#end
|
|
emit showWindowMenuRequested();
|
|
}
|
|
|
|
diff --git a/src/csd/libappletdecoration/previewclient.h b/src/csd/libappletdecoration/previewclient.h
|
|
index dabbc67..dabf411 100644
|
|
--- a/src/csd/libappletdecoration/previewclient.h
|
|
+++ b/src/csd/libappletdecoration/previewclient.h
|
|
@@ -119,7 +119,11 @@ public:
|
|
void requestToggleKeepAbove() override;
|
|
void requestToggleKeepBelow() override;
|
|
void requestToggleShade() override;
|
|
+#if KDECORATION2_VERSION_MINOR >= 77
|
|
+ void requestShowWindowMenu(const QRect &rect) override;
|
|
+#else
|
|
void requestShowWindowMenu() override;
|
|
+#endif
|
|
void requestShowApplicationMenu(const QRect &rect, int actionId) override;
|
|
void requestToggleOnAllDesktops() override;
|
|
|
|
--
|
|
GitLab
|
|
|