David Edmundson
2018-12-06 12:26:23 UTC
davidedmundson created this revision.
davidedmundson added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
davidedmundson requested review of this revision.
REVISION SUMMARY
If updating a shadow means that there should be no shadow, shadow ends
up deleting itself midway through the method.
It's cleaner and safer to leave that to the caller.
This new change matches the existing documentation for
Shadow::updateShadow which states
Created an ASAN of kwin
Relevant testMaximised no longer fails
REPOSITORY
R108 KWin
BRANCH
origin-master (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D17380
AFFECTED FILES
shadow.cpp
toplevel.cpp
To: davidedmundson, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
davidedmundson added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
davidedmundson requested review of this revision.
REVISION SUMMARY
If updating a shadow means that there should be no shadow, shadow ends
up deleting itself midway through the method.
It's cleaner and safer to leave that to the caller.
This new change matches the existing documentation for
Shadow::updateShadow which states
In that case the owner should delete the Shadow.
TEST PLANCreated an ASAN of kwin
Relevant testMaximised no longer fails
REPOSITORY
R108 KWin
BRANCH
origin-master (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D17380
AFFECTED FILES
shadow.cpp
toplevel.cpp
To: davidedmundson, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart