D15707: [effects/slide] Simplify logic that forces blur and background contrast

Vlad Zagorodniy <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.

REVISION SUMMARY
  The "Force" part in WindowForceBackgroundContrastRole and WindowForceBlurRole
  is confusing. If WindowForceBlurRole is set on a window, background
  behind it won't be blurred.
  
  By setting WindowForceBlurRole we tell the Blur effect "that's fine to
  do your business behind transformed windows."
  
  The Slide effect only translates windows, it doesn't distort them, etc.
  So, we can set WindowForceBackgroundContrastRole and WindowForceBlurRole
  for all windows.

REPOSITORY
  R108 KWin

BRANCH
  effects-slide-be-dumb

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

AFFECTED FILES
  effects/slide/slide.cpp
  effects/slide/slide.h

To: zzag, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, 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.