diff --git a/wayland_backend.cpp b/wayland_backend.cpp
index b5329fd573..18294b40ac 100644
--- a/wayland_backend.cpp
+++ b/wayland_backend.cpp
@@ -22,6 +22,7 @@ along with this program. If not, see .
// KWin
#include "cursor.h"
#include "input.h"
+#include "main.h"
#include
#include
#include
@@ -470,6 +471,9 @@ WaylandBackend::WaylandBackend(QObject *parent)
);
connect(m_registry, &Registry::seatAnnounced, this,
[this](quint32 name) {
+ if (Application::usesLibinput()) {
+ return;
+ }
m_seat.reset(new WaylandSeat(m_registry->bindSeat(name, 2), this));
}
);