graesslin created this revision. graesslin added reviewers: KWin, Plasma on Wayland. Restricted Application added subscribers: kwin, plasma-devel. Restricted Application added projects: Plasma on Wayland, KWin.
REVISION 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. REPOSITORY rKWIN KWin BRANCH color-scheme-wayland REVISION DETAIL https://phabricator.kde.org/D3047 AFFECTED FILES shell_client.cpp shell_client.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma_on_wayland Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas