Send surface_leave events before announcing output removal

It's the more logical order from the POV of a client
This commit is contained in:
David Edmundson 2021-05-19 22:58:38 +01:00
parent 0c49d302ce
commit 4a505823d7

View file

@ -187,8 +187,8 @@ void OutputInterface::remove()
displayPrivate->outputs.removeOne(this);
}
d->globalRemove();
Q_EMIT removed();
d->globalRemove();
}
QSize OutputInterface::pixelSize() const