From 843cee3d6626aa06162b03d0390b61440ffe53f3 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Thu, 3 Feb 2022 05:12:24 +0100 Subject: [PATCH] Scene: set painted_screen in paintScreen If it's not set but used by EffectsScreen that can cause crashes --- src/scene.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scene.cpp b/src/scene.cpp index 556c644c5e..53b6ca2006 100644 --- a/src/scene.cpp +++ b/src/scene.cpp @@ -220,6 +220,7 @@ void Scene::paintScreen(AbstractOutput *output, const QList &topleve const QRect geo = output->geometry(); QRegion update = geo, repaint = geo, valid; + painted_screen = output; paintScreen(geo, repaint, &update, &valid, output->renderLoop(), createProjectionMatrix(output->geometry())); clearStackingOrder();