diff --git a/src/wayland/surface.cpp b/src/wayland/surface.cpp index 7a2a85093a..c41fa51679 100644 --- a/src/wayland/surface.cpp +++ b/src/wayland/surface.cpp @@ -915,6 +915,10 @@ QList SurfaceInterface::outputs() const void SurfaceInterface::setOutputs(const QList &outputs, OutputInterface *primaryOutput) { + if (d->outputs == outputs && d->primaryOutput == primaryOutput) { + return; + } + QList removedOutputs = d->outputs; for (auto it = outputs.constBegin(), end = outputs.constEnd(); it != end; ++it) { const auto o = *it;