diff --git a/input.cpp b/input.cpp index 2fae16bd4d..334b9627a3 100644 --- a/input.cpp +++ b/input.cpp @@ -41,7 +41,7 @@ #include #include #include -#include +#include #include #include #include @@ -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());