Skip to content

windowManager: Disable favorite shortcuts without overview

The switch-to-application-n shortcuts are essentially "launch the nth app in the dash" actions, so they are at the very least confusing when the dash isn't available because the overview itself is disabled (for example in initial-setup mode).

So disable the shortcuts when the overview is disabled, but delegate the decision to a separate function so that extensions like 'panel-favorites' which expose favorites by some other means can easily re-enable them.

Fixes #1333 (closed)

Merge request reports