Set color scheme hint for compositor
ClosedPublic

Authored by broulik on Sep 21 2018, 9:14 AM.

Details

Summary

This is picked up by KWin and sets the palette on the decoration and window frame, ensuring a unified look.

Test Plan

Noticed the window borders in [1] looked hideous, went to fix it.

  • Verified that startup with no config applies default dark theme properly
  • Verified that switching themes at runtimes works properly
  • Verified that starting up with a different theme configured works properly

[1] https://krita.org/en/item/lets-tally-some-votes/

Diff Detail

Repository
R37 Krita
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Sep 21 2018, 9:14 AM
Restricted Application added a project: Krita. · View Herald TranscriptSep 21 2018, 9:14 AM
broulik requested review of this revision.Sep 21 2018, 9:14 AM
rempt accepted this revision.Sep 24 2018, 10:04 AM
This revision is now accepted and ready to land.Sep 24 2018, 10:04 AM

Thanks. What branch should this go in?

Merge this to the master branch. If it is a small fix (which it does seem to be :p ) you should try to cherry-pick it to krita/4.1, but if that seems scary, we'll cherry-pick it for you :)

This revision was automatically updated to reflect the committed changes.

I'm not familiar with cherry-picking, in Plasma we typically commit to stable and then merge to master. Feel free to cherry-pick my commit, thanks!