As reported on bug #417888, on wayland if a window is minimized
on VD1 and clicked to activate on VD2, it will put window
to VD1 and VD2.
By not calling the activate on minimized windows, it will fix this behaviour.
( I think this only happens on wayland because only on wayland you can put windows
on VD1 and VD2 but not VDX, meaning not on all desktops )
I tested this on X11 and Wayland, and everything seems to be working correctly.