7

Moving a macOS window by clicking anywhere on it (like on Linux)

 2 years ago
source link: https://mmazzarolo.com/blog/2022-04-16-drag-window-by-clicking-anywhere-on-macos/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Moving a macOS window by clicking anywhere on it (like on Linux)

Apr 16, 2022

Today I learned that since macOS High Sierra onwards you can move a window by clicking on any part of it (just like on Linux):

For some reason this behaviour is hidden behind a setting accessible only through CLI 🤷‍♂️

It can be enabled by running the following command:

defaults write -g NSWindowShouldDragOnGesture -bool true   

And logging out of the current macOS session.

You can then cmd + ctrl + click on any part of a window to move it.

P.S.: To disable this behaviour, you can run:

defaults delete -g NSWindowShouldDragOnGesture  

Source: mackungfu.org


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK