From a01a11fc35e32a3719edc91e98e11b6e60d6509f Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 22 Nov 2023 11:40:36 +0200 Subject: [PATCH] wayland: Reset SurfaceInterface::primaryOutput when the output is removed CCBUG: 477325 --- src/wayland/surface_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/surface_p.h b/src/wayland/surface_p.h index 034a14279c..ae31db4c1d 100644 --- a/src/wayland/surface_p.h +++ b/src/wayland/surface_p.h @@ -151,7 +151,7 @@ public: Transaction *lastTransaction = nullptr; QList outputs; - OutputInterface *primaryOutput = nullptr; + QPointer primaryOutput; std::optional preferredBufferScale; std::optional preferredBufferTransform; std::optional preferredColorDescription;