adapt Idle to Kwaylans Server Changes
This commit is contained in:
parent
e6ba54a730
commit
16c7b29c3b
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue