effects/windowview: always set the mode when activating with gestures
Otherwise the mode uses is defined by the last time the effect was used and thus not very predictable
This commit is contained in:
parent
7744a941ce
commit
41c23fa70e
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ WindowViewEffect::WindowViewEffect()
|
|||
switch (m_status) {
|
||||
case Status::Inactive:
|
||||
case Status::Activating:
|
||||
setMode(ModeAllDesktops);
|
||||
partialActivate(progress);
|
||||
break;
|
||||
case Status::Active:
|
||||
|
|
Loading…
Reference in a new issue