From 4a505823d75d75f5659789ecd0bfc8074909a395 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Wed, 19 May 2021 22:58:38 +0100 Subject: [PATCH] Send surface_leave events before announcing output removal It's the more logical order from the POV of a client --- src/wayland/output_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/output_interface.cpp b/src/wayland/output_interface.cpp index 3cec21daf6..8b52664461 100644 --- a/src/wayland/output_interface.cpp +++ b/src/wayland/output_interface.cpp @@ -187,8 +187,8 @@ void OutputInterface::remove() displayPrivate->outputs.removeOne(this); } - d->globalRemove(); Q_EMIT removed(); + d->globalRemove(); } QSize OutputInterface::pixelSize() const