From 94389de88dcbbbb5cb96efcfd99ccb065890f0ed Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 3 Nov 2020 19:32:29 +0200 Subject: [PATCH] Adjust WaylandServer to pointer-gestures-v1 changes in kws --- wayland_server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wayland_server.cpp b/wayland_server.cpp index 4dd6ce3d83..ecfbbf6553 100644 --- a/wayland_server.cpp +++ b/wayland_server.cpp @@ -43,7 +43,7 @@ #include #include #include -#include +#include #include #include #include @@ -385,7 +385,7 @@ bool WaylandServer::init(const QByteArray &socketName, InitializationFlags flags m_display->createShm(); m_seat = m_display->createSeat(m_display); m_seat->create(); - m_display->createPointerGestures(PointerGesturesInterfaceVersion::UnstableV1, m_display)->create(); + m_display->createPointerGesturesV1(m_display); m_display->createPointerConstraints(PointerConstraintsInterfaceVersion::UnstableV1, m_display)->create(); m_dataDeviceManager = m_display->createDataDeviceManager(m_display); m_display->createDataControlDeviceManagerV1(m_display);