SceneQPainter::Window::renderWindowDecorations operates on AbstractClient
This commit is contained in:
parent
401efc28a8
commit
f4246ba7e2
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ void SceneQPainter::Window::renderShadow(QPainter* painter)
|
|||
void SceneQPainter::Window::renderWindowDecorations(QPainter *painter)
|
||||
{
|
||||
// TODO: custom decoration opacity
|
||||
Client *client = dynamic_cast<Client*>(toplevel);
|
||||
AbstractClient *client = dynamic_cast<AbstractClient*>(toplevel);
|
||||
Deleted *deleted = dynamic_cast<Deleted*>(toplevel);
|
||||
if (!client && !deleted) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue