Commit 25d030dd authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

KDED: respond to output being completely removed

On Wayland outputs are not merely disconnected, they are completely removed from
the config. In order to apply config that matches the new configuration of available
outputs we need to listen to output removal, not just change in the connected

Reviewers: sebas, davidedmundson

Reviewed By: sebas

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent fd85ba85
......@@ -379,6 +379,9 @@ void KScreenDaemon::monitorConnectedChange()
}, Qt::UniqueConnection
connect(, &KScreen::Config::outputRemoved,
this, &KScreenDaemon::applyConfig,
static_cast<Qt::ConnectionType>(Qt::QueuedConnection | Qt::UniqueConnection));
void KScreenDaemon::setMonitorForChanges(bool enabled)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment