[wayland] Adjust to kwayland-server changes

"V1" suffix has been added to Display::createDataControlDeviceManager().
This commit is contained in:
Vlad Zahorodnii 2020-05-28 11:03:03 +03:00
parent d88bf7cdf1
commit c54d069d43

View file

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