From 9aef54b701d8d9109fd95f10c8a0c84e7b25327d Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 17 Nov 2023 10:21:49 +0200 Subject: [PATCH] Remove effects.h include in effectframe.h --- src/libkwineffects/effectframe.cpp | 2 ++ src/libkwineffects/effectframe.h | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/libkwineffects/effectframe.cpp b/src/libkwineffects/effectframe.cpp index 2e2c056152..115a2e5b15 100644 --- a/src/libkwineffects/effectframe.cpp +++ b/src/libkwineffects/effectframe.cpp @@ -6,8 +6,10 @@ */ #include "libkwineffects/effectframe.h" +#include "libkwineffects/effects.h" #include +#include namespace KWin { diff --git a/src/libkwineffects/effectframe.h b/src/libkwineffects/effectframe.h index 10327e3015..893f7db0fc 100644 --- a/src/libkwineffects/effectframe.h +++ b/src/libkwineffects/effectframe.h @@ -7,7 +7,7 @@ #pragma once -#include "libkwineffects/effects.h" // FIXME: move infiniteRegion() elsewhere +#include "libkwineffects/globals.h" #include "libkwineffects/offscreenquickview.h" #include @@ -16,6 +16,9 @@ namespace KWin { +class RenderTarget; +class RenderViewport; + /** * Style types used by @ref EffectFrame. * @since 4.6