This can be done with a hidden configuration setting. To have the dock only show windows of the current workspace, copy and paste following command in the terminal or in the run prompt you get when pressing Alt+F2:
gsettings set org.gnome.shell.extensions.dash-to-dock isolate-workspaces true
To revert to the default setting, issue the command
This can be done with a hidden configuration setting. To have the dock only show windows of the current workspace, copy and paste following command in the terminal or in the run prompt you get when pressing Alt+F2:
To revert to the default setting, issue the command