Skip to content
  • Vlad Zahorodnii's avatar
    Compute correct visible rect for client-side decorated clients · 79f4168f
    Vlad Zahorodnii authored
    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.
    
    Reviewers: #kwin, davidedmundson
    
    Reviewed By: #kwin, davidedmundson
    
    Subscribers: kwin
    
    Tags: #kwin
    
    Maniphest Tasks: T10867
    
    Differential Revision: https://phabricator.kde.org/D24458
    79f4168f