Use workspace to find output

We want the LogicalOutput from workspace(), not the BackendOutput
This commit is contained in:
Nicolas Fella 2025-12-02 20:14:03 +01:00
parent a46bf048ce
commit 8e8f794f02

View file

@ -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();