I loved that too! I use AltDrag[0] to get that functionality in Windows. It's a bit old and you may have to tweak it a bit to make it work with HiDPI, but it's now become a must-install when I set up a new machine.
AltDrag is amazing. Plus it's becoming a necessity because the window bar is now getting filled with elements too, so you can't rely on being able to use it to drag windows around by clicking and holding on any spot in the bar.
[0] https://stefansundin.github.io/altdrag/