D20621: [screenedge effect] Support "hint-stretch-borders"

"Friedrich W. H. Kossebau" <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
kossebau created this revision.
kossebau added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
kossebau requested review of this revision.

REVISION SUMMARY
  Some old themes have the flag set and also a style which expects the
  borders to be stretched. Given that the documentation on techbase
  describes widgets/glowbar still as "a frame without a prefix", one also
  would assume that all the optional hints (which make sense) still apply.
  Even more, the Air & Oxygen themes have the hint also set, though for
  their rendering it makes no difference.
  The small code needed seems worth the unbreaking of old themes as well
  as giving theme creators another variable of freedom for their styles.

TEST PLAN
  Glow bar still works on all corners and edges with all themes as before,
  though rendering now as expected for themes which have the
  "hint-stretch-borders" set.

REPOSITORY
  R108 KWin

BRANCH
  gloweffectsupportstretchborderhint

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

AFFECTED FILES
  effects/screenedge/screenedgeeffect.cpp

To: kossebau, #kwin
Cc: kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, 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.