
If there's a window flowing over the left edge in a workspace, the animation of showing or hiding overview in the left adjacent workspace would glitch, as the window would appear or disappear suddenly. This commits tries to fix it by making sure the active workspace are above other workspaces when updating workspaces or active workspace changed in workspacesView. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7364 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3378>