kwin/effects/wobblywindows
Vlad Zagorodniy c2ffcfdc21 [effects/wobblywindows] Fix visual artifacts caused by maximize effect
Summary:
If one wants to drag a maximized window while he or she has enabled both
the Wobbly Windows and the Maximize effect, visual artifacts can be
shown.

When the Maximize effect animates transition from maximize to restore,
some parts of the window can overshoot repaint regions(because of
wobbliness), leaving us with the visual artifacts.

To fix that, we have to take into account current scale and translation
when calculating dirty region in the Wobbly Windows effect.

BUG: 370612
FIXED-IN: 5.14.1

Test Plan: When dragging maximized windows, there are no visual artifacts anymore.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: abetts, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D15961
2018-10-09 18:30:13 +03:00
..
CMakeLists.txt
wobblywindows.cpp [effects/wobblywindows] Fix visual artifacts caused by maximize effect 2018-10-09 18:30:13 +03:00
wobblywindows.h [effects/wobblywindows] Fix visual artifacts caused by maximize effect 2018-10-09 18:30:13 +03:00
wobblywindows.kcfg
wobblywindows_config.cpp
wobblywindows_config.desktop
wobblywindows_config.h
wobblywindows_config.ui
wobblywindowsconfig.kcfgc