Support custom color scheme for Wayland windows
ClosedPublic

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

Details

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.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 7370.Oct 13 2016, 7:38 AM
graesslin retitled this revision from to Support custom color scheme for Wayland windows.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added projects: Plasma on Wayland, KWin. · View Herald TranscriptOct 13 2016, 7:38 AM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
sebas accepted this revision.Oct 16 2016, 2:56 PM
sebas added a reviewer: sebas.
This revision is now accepted and ready to land.Oct 16 2016, 2:56 PM
This revision was automatically updated to reflect the committed changes.