From 96d6a55ea8453008a7788900e8d545dec5fe8736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 15 Aug 2014 14:16:15 +0200 Subject: [PATCH] Do not create a WaylandSeat if we use libinput --- wayland_backend.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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)); } );