https://bugs.kde.org/show_bug.cgi?id=481335

--- Comment #3 from Vlad Zahorodnii <[email protected]> ---
Git commit fc92544cb3530ecf60aa110339b5e198b25f9301 by Vlad Zahorodnii.
Committed on 16/02/2024 at 08:59.
Pushed by vladz into branch 'master'.

plugins/overview: Allow switching between modes using shortcuts while already
active

Overview and Grid modes have shortcuts assigned to them. While they
provide a way to toggle the overview effect between on and off state, in
other words overview <-> off or grid <-> off, it's not possible to move
between the modes by pressing those shortcuts, e.g. off -> overview ->
grid -> overview -> grid -> ... -> off.

The culprit seems to be that EffectTogglableState has two "inactive"
states - Inactive and Stopped. It's counter-intuitive and needs a further
cleanup.

To make switching between overview modes work, this change makes
EffectTogglableState::toggle() toggle the state based on the Active state.
There's only one active state.

M  +1    -1    src/effect/effecttogglablestate.cpp

https://invent.kde.org/plasma/kwin/-/commit/fc92544cb3530ecf60aa110339b5e198b25f9301

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to