Vlad Zagorodniy
2018-12-08 11:54:27 UTC
zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.
REVISION SUMMARY
We use a function template, so static_cast in getMainWindows looks out
of place. Also, it's not good idea to do static_cast based on output of
isDeleted().
TEST PLAN
The Dialog Parent effect works.
REPOSITORY
R108 KWin
BRANCH
simplify-effectwindowimpl-mainwindows
REVISION DETAIL
https://phabricator.kde.org/D17426
AFFECTED FILES
effects.cpp
To: zzag, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.
REVISION SUMMARY
We use a function template, so static_cast in getMainWindows looks out
of place. Also, it's not good idea to do static_cast based on output of
isDeleted().
TEST PLAN
The Dialog Parent effect works.
REPOSITORY
R108 KWin
BRANCH
simplify-effectwindowimpl-mainwindows
REVISION DETAIL
https://phabricator.kde.org/D17426
AFFECTED FILES
effects.cpp
To: zzag, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart