From 6b34b90635bed821b1fb947cc8091eec4f06564f Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sun, 1 Nov 2020 14:29:16 +0000 Subject: [PATCH] Revert "[libkwineffects] Add windowId to EffectWindow" This reverts commit 251bbbb5b589e3377fcd470bca46d8708e84166a --- effects.cpp | 1 - effects.h | 1 - libkwineffects/kwineffects.h | 5 ----- 3 files changed, 7 deletions(-) diff --git a/effects.cpp b/effects.cpp index f9368980c3..5cd17d6f4c 100644 --- a/effects.cpp +++ b/effects.cpp @@ -1833,7 +1833,6 @@ TOPLEVEL_HELPER(KWaylandServer::SurfaceInterface *, surface, surface) TOPLEVEL_HELPER(bool, isPopupWindow, isPopupWindow) TOPLEVEL_HELPER(bool, isOutline, isOutline) TOPLEVEL_HELPER(pid_t, pid, pid) -TOPLEVEL_HELPER(qlonglong, windowId, windowId) #undef TOPLEVEL_HELPER diff --git a/effects.h b/effects.h index dd02767bfa..9b4b249d5b 100644 --- a/effects.h +++ b/effects.h @@ -454,7 +454,6 @@ public: bool isX11Client() const override; pid_t pid() const override; - qlonglong windowId() const override; QRect decorationInnerRect() const override; QByteArray readProperty(long atom, long type, int format) const override; diff --git a/libkwineffects/kwineffects.h b/libkwineffects/kwineffects.h index fc628bcce2..8c8a65572e 100644 --- a/libkwineffects/kwineffects.h +++ b/libkwineffects/kwineffects.h @@ -2439,11 +2439,6 @@ public: */ virtual pid_t pid() const = 0; - /** - * @since 5.21 - */ - virtual qlonglong windowId() const = 0; - /** * Can be used to by effects to store arbitrary data in the EffectWindow. *