requested to merge roscale/plasma-workspace:activate_window_before_action into master
Make Wayland behaviour similar to X11. When restoring a window from a minimize state, switch to its corresponding desktop instead of duplicating it on the current desktop. Do the same with other actions.
Steps to reproduce:
X11 result: Automatically switched to virtual desktop 1 with the window restored.
Wayland result: We stay on virtual desktop 2, the window is restored and it can be accessed on both virtual desktop 1 and 2.