Commit 2123e9b5 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

Adjust input stack to relative-pointer-v1 changes in kws

parent 69eb8789
......@@ -41,7 +41,7 @@
#include <KGlobalAccel>
#include <KWaylandServer/display.h>
#include <KWaylandServer/fakeinput_interface.h>
#include <KWaylandServer/relativepointer_interface.h>
#include <KWaylandServer/relativepointer_v1_interface.h>
#include <KWaylandServer/seat_interface.h>
#include <KWaylandServer/buffer_interface.h>
#include <KWaylandServer/surface_interface.h>
......@@ -2177,7 +2177,7 @@ void InputRedirection::setupLibInput()
if (waylandServer()) {
// create relative pointer manager
waylandServer()->display()->createRelativePointerManager(KWaylandServer::RelativePointerInterfaceVersion::UnstableV1, waylandServer()->display())->create();
waylandServer()->display()->createRelativePointerManagerV1(waylandServer()->display());
}
conn->setInputConfig(InputConfig::self()->inputConfig());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment