wayland: Avoid updating outputs of a closed window
BUG: 467954
This commit is contained in:
parent
66495f9c79
commit
2c12a6a417
1 changed files with 3 additions and 0 deletions
|
@ -156,6 +156,9 @@ bool WaylandWindow::belongsToDesktop() const
|
|||
|
||||
void WaylandWindow::updateClientOutputs()
|
||||
{
|
||||
if (isDeleted()) {
|
||||
return;
|
||||
}
|
||||
surface()->setOutputs(waylandServer()->display()->outputsIntersecting(frameGeometry().toAlignedRect()));
|
||||
if (output()) {
|
||||
surface()->setPreferredScale(output()->scale());
|
||||
|
|
Loading…
Reference in a new issue