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:
Xaver Hugl 2022-08-06 04:18:19 +02:00
parent 7744a941ce
commit 41c23fa70e

View file

@ -115,6 +115,7 @@ WindowViewEffect::WindowViewEffect()
switch (m_status) {
case Status::Inactive:
case Status::Activating:
setMode(ModeAllDesktops);
partialActivate(progress);
break;
case Status::Active: