SceneOpenGL::Window::getDecorationTexture() operates on AbstractClient
This commit is contained in:
parent
e61ad65f10
commit
401efc28a8
1 changed files with 1 additions and 1 deletions
|
@ -1403,7 +1403,7 @@ void SceneOpenGL::Window::endRenderWindow()
|
||||||
|
|
||||||
GLTexture *SceneOpenGL::Window::getDecorationTexture() const
|
GLTexture *SceneOpenGL::Window::getDecorationTexture() const
|
||||||
{
|
{
|
||||||
if (Client *client = dynamic_cast<Client *>(toplevel)) {
|
if (AbstractClient *client = dynamic_cast<AbstractClient *>(toplevel)) {
|
||||||
if (client->noBorder()) {
|
if (client->noBorder()) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue