From 8e8f794f02edc6ebb7399acbe24bbba75c069634 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Tue, 2 Dec 2025 20:14:03 +0100 Subject: [PATCH] Use workspace to find output We want the LogicalOutput from workspace(), not the BackendOutput --- kwin/mobiletaskswitcher/plugin/taskfiltermodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kwin/mobiletaskswitcher/plugin/taskfiltermodel.cpp b/kwin/mobiletaskswitcher/plugin/taskfiltermodel.cpp index 821d4f25..59e1f48c 100644 --- a/kwin/mobiletaskswitcher/plugin/taskfiltermodel.cpp +++ b/kwin/mobiletaskswitcher/plugin/taskfiltermodel.cpp @@ -50,7 +50,7 @@ QString TaskFilterModel::screenName() const void TaskFilterModel::setScreenName(const QString &screen) { - LogicalOutput *output = kwinApp()->outputBackend()->findOutput(screen); + LogicalOutput *output = workspace()->findOutput(screen); if (m_output != output) { m_output = output; Q_EMIT screenNameChanged();