plugins/highlightwindow: Don't animate deleted or invisible windows

When there are many windows (>50) open across multiple virtual desktops HighlightWindowEffect becomes slow, causing annoying lag in prepareHighlighting and finishHighlighting.

There is no need to apply animations to deleted windows or those on a different desktop unless explicitly marked as highlighted.

Edited by Sushi Trash

Merge request reports

Loading