Commit 41c23fa7 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

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
parent 7744a941
Pipeline #213925 passed with stage
in 24 minutes and 13 seconds
......@@ -115,6 +115,7 @@ WindowViewEffect::WindowViewEffect()
switch (m_status) {
case Status::Inactive:
case Status::Activating:
setMode(ModeAllDesktops);
partialActivate(progress);
break;
case Status::Active:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment