mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
workspacesView: Don't tie PgUp/PgDown to mapped state
Both app grid and window picker are now always visible in the overview, so their handling of the PgUp/PgDown keys conflicts. Resolve that by checking for the overview state instead. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1798>
This commit is contained in:
parent
fc54e0bed8
commit
dd7d336228
1 changed files with 2 additions and 1 deletions
|
|
@ -1142,7 +1142,8 @@ class WorkspacesDisplay extends St.Widget {
|
|||
}
|
||||
|
||||
_onKeyPressEvent(actor, event) {
|
||||
if (!this.mapped)
|
||||
const { ControlsState } = OverviewControls;
|
||||
if (this._overviewAdjustment.value !== ControlsState.WINDOW_PICKER)
|
||||
return Clutter.EVENT_PROPAGATE;
|
||||
|
||||
const { workspaceManager } = global;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue