I love this feature and it's since become indispensable to me. I find it pretty funny that my #1 favorite desktop UI feature is from Linux. One of the first things I'll put on a fresh install of Windows or MacOS is a utility that re-creates this behavior.
I use AltDrag on Windows (requires a quick tweak for HiDPI): https://stefansundin.github.io/altdrag/
And Easy Move + Resize on MacOS: https://github.com/dmarcotte/easy-move-resize