I just learned this neat trick on how to move a MacOS window by clicking anywhere on it.
Enable this feature with the following command:
defaults write -g NSWindowShouldDragOnGesture -bool true
Then log out of your MacOS session.
After this, you can
ctrl click anywhere on a window to move it.
To disable, run:
defaults delete -g NSWindowShouldDragOnGesture