News for hackers. Stuff that matters.
Re:Closing a 30 pixel gap between native and web by dejawu on Tuesday September 27, 2022 @07:14PM (#33002349)
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

Re:Closing a 30 pixel gap between native and web by Morgawr on Tuesday September 27, 2022 @09:52PM (#33003418)
>AltDrag

That's awesome, I remember when I was a CS student in college I also fell in love with the alt+drag of windows on Linux and I wanted to bring the same on my Windows PC so I wrote this extremely hacky and very unstable tool: https://github.com/Morgawr/EmptyWM

It was one of my first "open source" projects and a great learning experience, I would never recommend anyone to use it because it was full of bugs (also I haven't touched it in like 10+ years) but I used it every day and it was such a great feeling just being able to improve my own life with tools I created myself. :)

Re:Closing a 30 pixel gap between native and web by usui on Wednesday September 28, 2022 @03:40AM (#33005233)
This behavior is natively supported on macOS, although it is turned off by default. Click and drag anywhere on a window while holding CTRL+CMD

> defaults write -g NSWindowShouldDragOnGesture -bool true

> reboot

Re:Closing a 30 pixel gap between native and web by p1necone on Tuesday September 27, 2022 @08:03PM (#33002756)
I'm hoping that Microsoft just implements it natively eventually - their window snapping/tiling-lite functionality has been steadily getting better so they clearly have people working on this kind of window UX QOL stuff.
Re:Closing a 30 pixel gap between native and web by Zircom on Tuesday September 27, 2022 @08:44PM (#33003019)
There's a Microsoft utility calls powertoys that makes the window snapping/tiling even better with it's Fancy Zones feature. Also has a color picker which someone in this thread was decrying the lack of on windows.

https://learn.microsoft.com/en-us/windows/powertoys/

Re:Closing a 30 pixel gap between native and web by jsymolon on Wednesday September 28, 2022 @08:08AM (#33006973)
> window snapping/tiling

Put me in the camp that hates window snap/tiling.

I have a certain workflow that needs this window there, and this one here ... don't snap to a location or go full screen.

Re:Closing a 30 pixel gap between native and web by jaywalk on Wednesday September 28, 2022 @09:33AM (#33007705)
Check out FancyZones in Microsoft PowerToys.
Re:Closing a 30 pixel gap between native and web by Rygian on Wednesday September 28, 2022 @07:48AM (#33006833)
On the flip side, I have become so used to AltDrag behavior on windows, that now I consider KDE alt-drag subpar because it lacks the right-button drag to resize.
Re:Closing a 30 pixel gap between native and web by nerveband on Wednesday September 28, 2022 @09:48AM (#33007887)
These little tidbits are the reason I love Hacker News. Thank you for sharing!