From 69920044f7453e7bc3ee1fe00b35e2afce3a2583 Mon Sep 17 00:00:00 2001 From: Adrien Faveraux Date: Tue, 28 Jul 2020 14:03:38 +0200 Subject: [PATCH] Adapt dpms to Kwayland Server changes --- wayland_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wayland_server.cpp b/wayland_server.cpp index 37648bca1d..f01609d6b2 100644 --- a/wayland_server.cpp +++ b/wayland_server.cpp @@ -421,7 +421,7 @@ bool WaylandServer::init(const QByteArray &socketName, InitializationFlags flags auto shadowManager = m_display->createShadowManager(m_display); shadowManager->create(); - m_display->createDpmsManager(m_display)->create(); + m_display->createDpmsManager(m_display); m_decorationManager = m_display->createServerSideDecorationManager(m_display); connect(m_decorationManager, &ServerSideDecorationManagerInterface::decorationCreated, this,