• Martin Flöser's avatar
    [effects] Repaint expandedGeometry in HighlightWindowsEffect · d910217b
    Martin Flöser authored
    Summary:
    The highlight windows effect tried to trigger repaints with the shadow
    included by having an hardcoded pixel offset. This of course breaks if
    the shadow is larger than the hardcoded value.
    
    The reason presented on why it was done like that is no longer true and
    in the effects the actual visible area including decorations and shadows
    is available through the expandedGeometry.
    
    BUG: 368495
    
    Reviewers: #kwin, #plasma
    
    Subscribers: plasma-devel, kwin
    
    Tags: #kwin
    
    Differential Revision: https://phabricator.kde.org/D2748
    d910217b
highlightwindow.cpp 12 KB