D16228: Raise window group together with group transient
Vlad Zagorodniy <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
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 Group transients and "ordinary" transients behave differently with respect to activation: - If an ordinary transient is activated, its main windows will be raised with it; - If a group transient is activated, only it will be raised, its window group won't be raised. That difference exists because transientFor method is meaningless for group transients, i.e. it returns nullptr. This change addresses the problem stated above by using an appropriate method to get a list of main clients. lowerClient will be addressed in another patch. REPOSITORY R108 KWin BRANCH stackingorder-fix-raiseclient-lowerclient REVISION DETAIL https://phabricator.kde.org/D16228 AFFECTED FILES autotests/integration/stacking_order_test.cpp layers.cpp To: zzag, #kwin Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart