wayland: Avoid updating outputs of a closed window

BUG: 467954
remotes/origin/work/nico/sticky-keys
Vlad Zahorodnii 3 years ago
parent 66495f9c79
commit 2c12a6a417
  1. 3
      src/waylandwindow.cpp

@ -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…
Cancel
Save