effect: Fix EffectWindow::contentsRect()
It should specify the client rect inside the frame.
2556378dfa
incorrectly assumed that the
buffer geometry includes the decoration.
BUG: 482294
This commit is contained in:
parent
bfd755aee9
commit
8736e44e1a
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ QString EffectWindow::windowClass() const
|
|||
|
||||
QRectF EffectWindow::contentsRect() const
|
||||
{
|
||||
return d->m_window->clientGeometry().translated(-d->m_window->bufferGeometry().topLeft());
|
||||
return d->m_window->clientGeometry().translated(-d->m_window->frameGeometry().topLeft());
|
||||
}
|
||||
|
||||
WindowType EffectWindow::windowType() const
|
||||
|
|
Loading…
Reference in a new issue