Thomas' Tech Tips

Move a window by clicking anywhere on it in MacOS

5 July 2022 - Thomas Damgaard

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 cmd + ctrl click anywhere on a window to move it.

To disable, run:

defaults delete -g NSWindowShouldDragOnGesture
Filed under: macos, tips