workspaceSwitcherPopup: Drop direction parameter

The original popup included arrows that indicated the direction of
the switch. We stopped doing that a long time ago, and ever since
the popup has only indicated active vs. non-active workspaces.

Simplify both the API and style to reflect that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2127>
This commit is contained in:
Florian Müllner
2022-01-26 01:26:44 +01:00
committed by Marge Bot
parent 3e8fd65045
commit 209d8c7f10
3 changed files with 16 additions and 27 deletions

View File

@ -1820,7 +1820,7 @@ var WindowManager = class {
this._isWorkspacePrepended = false;
});
}
this._workspaceSwitcherPopup.display(direction, newWs.index());
this._workspaceSwitcherPopup.display(newWs.index());
}
}