From 7a6ee1c7bb00c70a61f314ae98ad08b75969851d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Thu, 30 Apr 2015 21:15:58 +0200 Subject: [PATCH] break desktopshowing state from cover & flipswitch REVIEW: 123550 CCBUG: 346837 --- effects/coverswitch/coverswitch.cpp | 1 + effects/flipswitch/flipswitch.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/effects/coverswitch/coverswitch.cpp b/effects/coverswitch/coverswitch.cpp index fa6ec84a3f..92772d4b2f 100644 --- a/effects/coverswitch/coverswitch.cpp +++ b/effects/coverswitch/coverswitch.cpp @@ -420,6 +420,7 @@ void CoverSwitchEffect::slotTabBoxAdded(int mode) if (effects->activeFullScreenEffect() && effects->activeFullScreenEffect() != this) return; if (!mActivated) { + effects->setShowingDesktop(false); // only for windows mode if (((mode == TabBoxWindowsMode && primaryTabBox) || (mode == TabBoxWindowsAlternativeMode && secondaryTabBox) || diff --git a/effects/flipswitch/flipswitch.cpp b/effects/flipswitch/flipswitch.cpp index f429b05806..63a16debe5 100644 --- a/effects/flipswitch/flipswitch.cpp +++ b/effects/flipswitch/flipswitch.cpp @@ -407,6 +407,7 @@ void FlipSwitchEffect::slotTabBoxAdded(int mode) if (effects->activeFullScreenEffect() && effects->activeFullScreenEffect() != this) return; // only for windows mode + effects->setShowingDesktop(false); if (((mode == TabBoxWindowsMode && m_tabbox) || (mode == TabBoxWindowsAlternativeMode && m_tabboxAlternative) || (mode == TabBoxCurrentAppWindowsMode && m_tabbox) ||