Introduce the beginning of an InputRedirection class

Desktop / KDE / KDE Workspace - Martin Gräßlin [kde.org] - 18 March 2014 03:00 EDT

So far this new class is not yet doing much. The WaylandBackend forwards the received pointer events to this InputRedirection class. From there signals are emitted to inform internal areas about the changes first.

The events are currently forwarded to X through the xtest extension. This will be removed in future. Input will be forwarded directly to the surface which wants it (no matter whether X11 or Wayland).

b45d499 Introduce the beginning of an InputRedirection class
kwin/CMakeLists.txt | 1 +
kwin/input.cpp | 121 +++++++++++++++++++++++++++++++++++++++++
kwin/input.h | 134 ++++++++++++++++++++++++++++++++++++++++++++++
kwin/wayland_backend.cpp | 52 ++----------------
kwin/workspace.cpp | 2 +
5 files changed, 262 insertions(+), 48 deletions(-)

Upstream: quickgit.kde.org


  • Share