D18236: Fix potential typo

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
  Given that allclips contains opaque regions of higher windows, we should
  check PAINT_WINDOW_TRANSLUCENT flag instead of PAINT_WINDOW_TRANSFORMED.
  
  ba39d1f917c61aff02e84088fc3f3091f0eb977e <https://phabricator.kde.org/R108:ba39d1f917c61aff02e84088fc3f3091f0eb977e> introduced that check. Neither
  the commit message nor the associated review have any comments regarding
  checking PAINT_WINDOW_TRANSFORMED, so given the following comment
  
    // Here we rely on WindowPrePaintData::setTranslucent() to remove
    // the clip if needed.
  
  PAINT_WINDOW_TRANSFORMED is most likely a typo.

REPOSITORY
  R108 KWin

BRANCH
  fix-typo

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

AFFECTED FILES
  scene.cpp

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