For Windows there is AltDrag or the AltSnap fork.
https://github.com/RamonUnch/AltSnap
https://github.com/stefansundin/altdrag
Also built-in to PowerToys.