D24458: Compute correct visible rect for client-side decorated clients

Vlad Zahorodnii <[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
  Frame and buffer geometry don't have strict order. Either one of them can
  be inside the other one, so we must take that into account when computing
  visible bounds of the client including drop-shadows. We also have to take
  sub-surfaces into account when determining the visible rect, however it's
  out of scope for this patch.

REPOSITORY
  R108 KWin

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

AFFECTED FILES
  toplevel.cpp

To: zzag, #kwin
Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, 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.