RamonUnch / AltSnap

Maintained continuation of Stefan Sundin's AltDrag
GNU General Public License v3.0
2.08k stars 66 forks source link

Feature Request: Dimension restoration while resizing on `esc` press #504

Open brian6932 opened 8 months ago

brian6932 commented 8 months ago

Basically, when you resize a window normally, pressing ESC while resizing restores the window to it's dimensions before you started resizing, however AltSnap doesn't abide by this behavior, currently it just stop resizing and sets it to the currently held position. I think it'd be nice for this to be a togglable feature within the ini file.

RamonUnch commented 8 months ago

Yes, this is because ESC is handled like a hard reset instead of a movement cancellation, so that if AltSnap locks something or gets in a funny state you can press ESC to fix it. Because of that it tries not to do any extra work. If you want the window to stay still when pressing ESC you can always use FullWin=0 in the [Performance] section of the ini file, and it will move a hollow square instead of the window until movement is finished.

brian6932 commented 8 months ago

Yea I figured it was due to the motion stop, what I propose's more specifically on resize