dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Add NSWindowShouldDragOnGesture

Open stevemoser opened this issue 6 years ago • 8 comments

"My favorite macOS hack: "defaults write -g NSWindowShouldDragOnGesture YES". Restart any app. Slam down ctrl-opt-cmd and you can click and drag a window from any location."

https://twitter.com/nibroc/status/963088893758259200

stevemoser avatar Feb 12 '18 19:02 stevemoser

This is awesome!

mathiasbynens avatar Feb 12 '18 19:02 mathiasbynens

control+command are sufficient, option is not required

Scvairy avatar Oct 15 '20 07:10 Scvairy

I believe this works without this configuration, as well. I first tried:

defaults write -g NSWindowShouldDragOnGesture -bool true

And tried it out and it worked. After that, I did:

defaults delete -g NSWindowShouldDragOnGesture

And it still worked!

grossjohann avatar May 06 '22 07:05 grossjohann

I believe this works without this configuration, as well. I first tried:

defaults write -g NSWindowShouldDragOnGesture -bool true

And tried it out and it worked. After that, I did:

defaults delete -g NSWindowShouldDragOnGesture

And it still worked!

Have you ever tried to log out and log in again?

luxuxl avatar Jun 13 '23 11:06 luxuxl

Have you ever tried to log out and log in again?

I guess that must have been it. Thank you.

grossjohann avatar Jun 14 '23 09:06 grossjohann

Thank you guy ❤️ I miss x11 very much, it feels very useful after turning on this option, it would be great if there is a magic that can shrink and enlarge the window 🫣 I am using now https://github.com/zenangst/MouseDef

d1y avatar Aug 05 '23 05:08 d1y

@d1y thanks for the mention, I'm working on a huge update for MouseDef that includes all kinds of goodies :)

image image

zenangst avatar Jan 29 '24 12:01 zenangst