Compute correct visible rect for client-side decorated clients
ClosedPublic

Authored by zzag on Oct 7 2019, 10:44 AM.

Details

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.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zzag created this revision.Oct 7 2019, 10:44 AM
Restricted Application added a project: KWin. · View Herald TranscriptOct 7 2019, 10:44 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Oct 7 2019, 10:44 AM
davidedmundson accepted this revision.Nov 26 2019, 12:29 PM
This revision is now accepted and ready to land.Nov 26 2019, 12:29 PM
This revision was automatically updated to reflect the committed changes.