SceneOpenGL::Window::getDecorationTexture() operates on AbstractClient

This commit is contained in:
Martin Gräßlin 2015-12-03 17:41:06 +01:00
parent e61ad65f10
commit 401efc28a8

View file

@ -1403,7 +1403,7 @@ void SceneOpenGL::Window::endRenderWindow()
GLTexture *SceneOpenGL::Window::getDecorationTexture() const
{
if (Client *client = dynamic_cast<Client *>(toplevel)) {
if (AbstractClient *client = dynamic_cast<AbstractClient *>(toplevel)) {
if (client->noBorder()) {
return nullptr;
}