Add support for Wayland seat: keyboard and pointer

Desktop / KDE / KDE Workspace - Martin Gräßlin [kde.org] - 5 June 2013 06:46 UTC

Rudimentary support for input events. Events from Wayland are forwarded to X's root window using the XTest extension.

Currently supported:
- left/middle/right mouse button
- keyboard events

Not supported:
- additional mouse buttons
- mouse wheel
- touch events

Obviously this is a rather huge hack and is only intended till we have XWayland support and proper input redirection inside KWin.

c493fcb Add support for Wayland seat: keyboard and pointer
kwin/CMakeLists.txt | 1 +
kwin/egl_wayland_backend.cpp | 215 ++++++++++++++++++++++++++++++++++++++++++
kwin/egl_wayland_backend.h | 25 +++++
3 files changed, 241 insertions(+)

Upstream: quickgit.kde.org


  • Share