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; }