Diffusion KWin 948ff63d65d2

when the padding aroun the window changes, update

Authored by mart on Mar 17 2017, 4:46 PM.

Description

when the padding aroun the window changes, update

Summary:
update m_visibleRectBeforeGeometryUpdate when the padding
change signal gets emitted: aurorae updates its shadow
and postentially shadow size asynchronously after repainting.
that would make the first addRepaintDuringGeometryUpdates
when the winow is moved *for the first time* have a wrong
m_visibleRectBeforeGeometryUpdate that doesn't take into
account the shadow, leaving some leftover shadow on screen

BUG:377670

Test Plan:
shadow leftover not reproducible anymore with maui's kwinrc
replaces D4989
tested both on master and together D4990, which should go in as well

Reviewers: Plasma, davidedmundson, graesslin

Reviewed By: Plasma, graesslin

Subscribers: plasma-devel, kwin, KWin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D5078

Details

Committed
martMar 17 2017, 4:47 PM
Reviewer
Plasma
Differential Revision
D5078: when the padding aroun the window changes, update
Parents
R108:df861b17028a: initialize a member
Branches
Unknown
Tags
Unknown