effects: Disable showing desktop when starting any fullscreen effect
Fullscreen effects typically will show all the windows, when the effect ends having the windows disappear doesn't really work. From a user point of view any full screen effect is a new task, we want to cancel any preivous task. BUG: 487299
This commit is contained in:
parent
0ce7a40850
commit
5d90f232bd
1 changed files with 2 additions and 0 deletions
|
@ -419,6 +419,8 @@ void EffectsHandler::setActiveFullScreenEffect(Effect *e)
|
||||||
Q_EMIT activeFullScreenEffectChanged();
|
Q_EMIT activeFullScreenEffectChanged();
|
||||||
if (activeChanged) {
|
if (activeChanged) {
|
||||||
Q_EMIT hasActiveFullScreenEffectChanged();
|
Q_EMIT hasActiveFullScreenEffectChanged();
|
||||||
|
|
||||||
|
setShowingDesktop(false);
|
||||||
workspace()->screenEdges()->checkBlocking();
|
workspace()->screenEdges()->checkBlocking();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue