Revision f4106e1...

Go back to digest for 19th June 2011

Features in KDE Base

Martin Gräßlin committed changes in [kde-workspace/kwin-wayland] /:

Window Decoration support for Wayland Clients

Adding a dummy KDecorationBridge implementation for Wayland Clients
and all Wayland clients create a decoration. Most of the decoration
related code is copied from KWin::Client stripped from X11 related
code. The methods are marked and should in future be merged into a
common base class for current X11 KWin::Client and Wayland::Client.

The window decoration for Wayland uses X11. This might look strange
but has two reasons:
1. Decoration used QWidget which currently requires X11.
2. Using X11 allows to install an event filter and pass mouse and
keyboard events to the Wayland client. This is also the reason why
all Wayland clients get a decoration at the moment.

Warning: currently hits an assertion in Oxygen with Wayland clients,
works fine at least with Aurorae and Plastik

File Changes

Added 2 files
  • /wayland
  •   kwin_bridge.cpp
  •   kwin_bridge.h
Modified 5 files
  •   kwin/CMakeLists.txt
  •   kwin/scene.cpp
  •   kwin/scene_opengl.cpp
  •   kwin/wayland/wayland_client.cpp
  •   kwin/wayland/wayland_client.h
7 files changed in total