[wayland] Add support for closeWindow request in PlasmaWindowInterface
This commit is contained in:
parent
97588faea2
commit
3c2c1d31c9
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue