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

This commit is contained in:
Vlad Zahorodnii 2020-11-03 18:27:22 +02:00
parent 69eb8789ba
commit 2123e9b541

View file

@ -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());