Diffusion KWin f41b610608a4

Support custom color scheme for Wayland windows

Authored by graesslin on Oct 13 2016, 7:35 AM.

Description

Support custom color scheme for Wayland windows

Summary:
On Wayland the QtExtendedSurface is used to pass the path to the color
scheme using the generic window property. To support this ShellClient
installs an event filter on the extended surface and listens for dynamic
property change events.

As the color scheme is KDE specific anyway it is not a problem that a Qt
specific interface is being used. For other toolkits just passing the
name to KDE's color scheme isn't sufficient anyway. If at some point we
find a way to support this for e.g. GTK+ we would need to come up with a
dedicated interface.

Reviewers: KWin, Plasma on Wayland

Subscribers: plasma-devel, kwin

Tags: Plasma on Wayland, KWin

Differential Revision: https://phabricator.kde.org/D3047

Details

Committed
graesslinOct 17 2016, 7:00 AM
Differential Revision
D3047: Support custom color scheme for Wayland windows
Parents
R108:8201def97fcc: Set icon to wayland if desktop file is not found
Branches
Unknown
Tags
Unknown