adapt Idle to Kwaylans Server Changes

This commit is contained in:
Adrien Faveraux 2020-07-22 22:30:52 +02:00 committed by Vlad Zahorodnii
parent e6ba54a730
commit 16c7b29c3b

View file

@ -354,7 +354,6 @@ bool WaylandServer::init(const QByteArray &socketName, InitializationFlags flags
m_display->createDataControlDeviceManagerV1(m_display);
m_display->createPrimarySelectionDeviceManagerV1(m_display);
m_idle = m_display->createIdle(m_display);
m_idle->create();
auto idleInhibition = new IdleInhibition(m_idle);
connect(this, &WaylandServer::shellClientAdded, idleInhibition, &IdleInhibition::registerClient);
m_display->createIdleInhibitManagerV1(m_display);