wayland: Arrange layer shell surfaces only on enabled outputs

There should not be any layer shell surfaces on disabled outputs.
This commit is contained in:
Vlad Zahorodnii 2021-01-22 10:13:35 +02:00
parent 154a38adf5
commit de9af6edce

View file

@ -200,7 +200,7 @@ void LayerShellV1Integration::rearrange()
{ {
m_rearrangeTimer->stop(); m_rearrangeTimer->stop();
const QVector<AbstractOutput *> outputs = kwinApp()->platform()->outputs(); const QVector<AbstractOutput *> outputs = kwinApp()->platform()->enabledOutputs();
for (AbstractOutput *output : outputs) { for (AbstractOutput *output : outputs) {
rearrangeOutput(output); rearrangeOutput(output);
} }