break desktopshowing state from cover & flipswitch

REVIEW: 123550
CCBUG: 346837
This commit is contained in:
Thomas Lübking 2015-04-30 21:15:58 +02:00
parent cfa1d612fe
commit 7a6ee1c7bb
2 changed files with 2 additions and 0 deletions

View file

@ -420,6 +420,7 @@ void CoverSwitchEffect::slotTabBoxAdded(int mode)
if (effects->activeFullScreenEffect() && effects->activeFullScreenEffect() != this) if (effects->activeFullScreenEffect() && effects->activeFullScreenEffect() != this)
return; return;
if (!mActivated) { if (!mActivated) {
effects->setShowingDesktop(false);
// only for windows mode // only for windows mode
if (((mode == TabBoxWindowsMode && primaryTabBox) || if (((mode == TabBoxWindowsMode && primaryTabBox) ||
(mode == TabBoxWindowsAlternativeMode && secondaryTabBox) || (mode == TabBoxWindowsAlternativeMode && secondaryTabBox) ||

View file

@ -407,6 +407,7 @@ void FlipSwitchEffect::slotTabBoxAdded(int mode)
if (effects->activeFullScreenEffect() && effects->activeFullScreenEffect() != this) if (effects->activeFullScreenEffect() && effects->activeFullScreenEffect() != this)
return; return;
// only for windows mode // only for windows mode
effects->setShowingDesktop(false);
if (((mode == TabBoxWindowsMode && m_tabbox) || if (((mode == TabBoxWindowsMode && m_tabbox) ||
(mode == TabBoxWindowsAlternativeMode && m_tabboxAlternative) || (mode == TabBoxWindowsAlternativeMode && m_tabboxAlternative) ||
(mode == TabBoxCurrentAppWindowsMode && m_tabbox) || (mode == TabBoxCurrentAppWindowsMode && m_tabbox) ||