D22238: Fix creation of kdeglobals if /etc/xdg/kdeglobals present

Fabian Vogt <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin,gmane.comp.kde.devel.plasma
Message-ID <[email protected]>
fvogt created this revision.
fvogt added a reviewer: Plasma.
Herald added a project: KWin.
Herald added a subscriber: kwin.
fvogt requested review of this revision.

REVISION SUMMARY
  If /etc/xdg/kdeglobals exists but ~/.config/kdeglobals
  does not (like on the first start of kwin_wayland), it did not notice
  changes to kdeglobals.
  This lead to KWin using the wrong color scheme for the window decoration
  on the first login, which also could not be changed without a session restart.
  
  If you have a better idea than hardcoding the location here, please do tell.

TEST PLAN
  Cleared ~ and logged in again, title bar color is now correct.

REPOSITORY
  R108 KWin

BRANCH
  colorfix

REVISION DETAIL
  https://phabricator.kde.org/D22238

AFFECTED FILES
  decorations/decorationpalette.cpp

To: fvogt, #plasma
Cc: kwin, plasma-devel, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.