[plasma/kwin] src/effect: effect: Drop EffectsHandler::renderWindow()

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit aacfcbe6d4feb77d9783b0adbd667b225a75ccfb by Vlad Zahorodnii.
Committed on 03/08/2026 at 13:59.
Pushed by vladz into branch 'master'.

effect: Drop EffectsHandler::renderWindow()

It's unused.

M  +0    -5    src/effect/effecthandler.cpp
M  +0    -1    src/effect/effecthandler.h

https://invent.kde.org/plasma/kwin/-/commit/aacfcbe6d4feb77d9783b0adbd667b225a75ccfb

diff --git a/src/effect/effecthandler.cpp b/src/effect/effecthandler.cpp
index 94af4ada9b9..bef5b936975 100644
--- a/src/effect/effecthandler.cpp
+++ b/src/effect/effecthandler.cpp
@@ -409,11 +409,6 @@ bool EffectsHandler::drawWindow(const RenderTarget &renderTarget, const RenderVi
     }
 }
 
-void EffectsHandler::renderWindow(const RenderTarget &renderTarget, const RenderViewport &viewport, EffectWindow *w, int mask, const Region &deviceRegion, WindowPaintData &data)
-{
-    m_scene->finalDrawWindow(renderTarget, viewport, w, mask, deviceRegion, data);
-}
-
 bool EffectsHandler::hasDecorationShadows() const
 {
     return false;
diff --git a/src/effect/effecthandler.h b/src/effect/effecthandler.h
index 1f3e42aefea..c0ad976625d 100644
--- a/src/effect/effecthandler.h
+++ b/src/effect/effecthandler.h
@@ -181,7 +181,6 @@ public:
     void prePaintWindow(RenderView *view, EffectWindow *w, WindowPrePaintData &data);
     [[nodiscard]] bool paintWindow(const RenderTarget &renderTarget, const RenderViewport &viewport, EffectWindow *w, int mask, const Region &deviceRegion, WindowPaintData &data);
     [[nodiscard]] bool drawWindow(const RenderTarget &renderTarget, const RenderViewport &viewport, EffectWindow *w, int mask, const Region &deviceRegion, WindowPaintData &data);
-    void renderWindow(const RenderTarget &renderTarget, const RenderViewport &viewport, EffectWindow *w, int mask, const Region &deviceRegion, WindowPaintData &data);
     QVariant kwinOption(KWinOption kwopt);
     /**
      * Sets the cursor while the mouse is intercepted.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.