overviewControls: Shift up on double-super
Right now a second super press during the overview transition hides the overview again. Change that behavior to shift up to the app grid instead, which is more useful. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1736>
This commit is contained in:
parent
1ad45a8232
commit
f28f7eddb1
@ -371,7 +371,13 @@ class ControlsManager extends St.Widget {
|
|||||||
if (this._a11ySettings.get_boolean('stickykeys-enable'))
|
if (this._a11ySettings.get_boolean('stickykeys-enable'))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Main.overview.toggle();
|
const { initialState, finalState, transitioning } =
|
||||||
|
this._stateAdjustment.getStateTransitionParams();
|
||||||
|
|
||||||
|
if (transitioning && finalState > initialState)
|
||||||
|
this._shiftState(Meta.MotionDirection.UP);
|
||||||
|
else
|
||||||
|
Main.overview.toggle();
|
||||||
});
|
});
|
||||||
|
|
||||||
Main.wm.addKeybinding(
|
Main.wm.addKeybinding(
|
||||||
|
Loading…
Reference in New Issue
Block a user