[wayland] Create DataControlDeviceManager

This commit is contained in:
David Edmundson 2020-05-26 10:10:59 +01:00
parent 1c2f23d31c
commit b267ea41b2

View file

@ -343,6 +343,7 @@ bool WaylandServer::init(const QByteArray &socketName, InitializationFlags flags
m_display->createPointerConstraints(PointerConstraintsInterfaceVersion::UnstableV1, m_display)->create(); m_display->createPointerConstraints(PointerConstraintsInterfaceVersion::UnstableV1, m_display)->create();
m_dataDeviceManager = m_display->createDataDeviceManager(m_display); m_dataDeviceManager = m_display->createDataDeviceManager(m_display);
m_dataDeviceManager->create(); m_dataDeviceManager->create();
m_display->createDataControlDeviceManager(m_display);
m_idle = m_display->createIdle(m_display); m_idle = m_display->createIdle(m_display);
m_idle->create(); m_idle->create();
auto idleInhibition = new IdleInhibition(m_idle); auto idleInhibition = new IdleInhibition(m_idle);