adapt Decoration Server palettes to KWaylandServer Changes

This commit is contained in:
Adrien Faveraux 2020-07-12 18:50:42 +02:00 committed by Vlad Zahorodnii
parent e28e4cb189
commit 8d861b475d

View file

@ -383,7 +383,6 @@ bool WaylandServer::init(const QByteArray &socketName, InitializationFlags flags
}
);
m_paletteManager = m_display->createServerSideDecorationPaletteManager(m_display);
m_paletteManager->create();
connect(m_paletteManager, &ServerSideDecorationPaletteManagerInterface::paletteCreated,
[this] (ServerSideDecorationPaletteInterface *palette) {
if (XdgToplevelClient *client = findXdgToplevelClient(palette->surface())) {