From 41c23fa70efc8c79b447994652582b372e49deaf Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Sat, 6 Aug 2022 04:18:19 +0200 Subject: [PATCH] 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 --- src/effects/windowview/windowvieweffect.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/effects/windowview/windowvieweffect.cpp b/src/effects/windowview/windowvieweffect.cpp index 09e291e3e0..855ac544db 100644 --- a/src/effects/windowview/windowvieweffect.cpp +++ b/src/effects/windowview/windowvieweffect.cpp @@ -115,6 +115,7 @@ WindowViewEffect::WindowViewEffect() switch (m_status) { case Status::Inactive: case Status::Activating: + setMode(ModeAllDesktops); partialActivate(progress); break; case Status::Active: