Merge branch 'Plasma/5.12'
This commit is contained in:
commit
86f835ac35
4 changed files with 8 additions and 4 deletions
|
@ -27,7 +27,7 @@
|
|||
"Description[tr]": "QPainter üzerinden KWin Dizgici eklentisi oluşturma",
|
||||
"Description[uk]": "Додаток засобу композиції KWin для обробки з використанням QPainter",
|
||||
"Description[x-test]": "xxKWin Compositor plugin rendering through QPainterxx",
|
||||
"Description[zh_CN]": "使用 QPainter 渲染的 KWin 合成插件",
|
||||
"Description[zh_CN]": "使用 QPainter 渲染的 KWin 混成插件",
|
||||
"Id": "KWinSceneQPainter",
|
||||
"Name": "SceneQPainter",
|
||||
"Name[pl]": "QPainter sceny",
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
"Description[tr]": "XRender üzerinden KWin Dizgici eklentisi oluşturma",
|
||||
"Description[uk]": "Додаток засобу композиції KWin для обробки з використанням XRender",
|
||||
"Description[x-test]": "xxKWin Compositor plugin rendering through XRenderxx",
|
||||
"Description[zh_CN]": "使用 XRender 渲染的 KWin 合成插件",
|
||||
"Description[zh_CN]": "使用 XRender 渲染的 KWin 混成插件",
|
||||
"Id": "KWinSceneXRender",
|
||||
"Name": "SceneXRender",
|
||||
"Name[pl]": "XRender sceny",
|
||||
|
|
|
@ -1547,8 +1547,6 @@ void ShellClient::installServerSideDecoration(KWayland::Server::ServerSideDecora
|
|||
connect(m_serverDecoration, &ServerSideDecorationInterface::modeRequested, this,
|
||||
[this] (ServerSideDecorationManagerInterface::Mode mode) {
|
||||
const bool changed = mode != m_serverDecoration->mode();
|
||||
// always acknowledge the requested mode
|
||||
m_serverDecoration->setMode(mode);
|
||||
if (changed && !m_unmapped) {
|
||||
updateDecoration(false);
|
||||
}
|
||||
|
|
|
@ -337,6 +337,12 @@ bool WaylandServer::init(const QByteArray &socketName, InitalizationFlags flags)
|
|||
if (ShellClient *c = findClient(deco->surface())) {
|
||||
c->installServerSideDecoration(deco);
|
||||
}
|
||||
connect(deco, &ServerSideDecorationInterface::modeRequested, this,
|
||||
[this, deco] (ServerSideDecorationManagerInterface::Mode mode) {
|
||||
// always acknowledge the requested mode
|
||||
deco->setMode(mode);
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
m_decorationManager->create();
|
||||
|
|
Loading…
Reference in a new issue