From 401efc28a87c8fb97a064f46a017a64dbd27d28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 3 Dec 2015 17:41:06 +0100 Subject: [PATCH] SceneOpenGL::Window::getDecorationTexture() operates on AbstractClient --- scene_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 5f6c578c3d..af0d937779 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -1403,7 +1403,7 @@ void SceneOpenGL::Window::endRenderWindow() GLTexture *SceneOpenGL::Window::getDecorationTexture() const { - if (Client *client = dynamic_cast(toplevel)) { + if (AbstractClient *client = dynamic_cast(toplevel)) { if (client->noBorder()) { return nullptr; }