Commit 3c2c1d31 authored by Martin Flöser's avatar Martin Flöser

[wayland] Add support for closeWindow request in PlasmaWindowInterface

parent 97588fae
......@@ -250,6 +250,7 @@ void WaylandServer::announceClientToWindowManagement(AbstractClient *c)
);
connect(c, &AbstractClient::demandsAttentionChanged, w, [w, c] { w->setDemandsAttention(c->isDemandingAttention()); });
connect(c, &QObject::destroyed, w, &KWayland::Server::PlasmaWindowInterface::unmap);
connect(w, &PlasmaWindowInterface::closeRequested, c, [c] { c->closeWindow(); });
}
void WaylandServer::initOutputs()
......
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