diff --git a/win/win.ahk b/win/win.ahk index dcf3d8d..440e64e 100644 --- a/win/win.ahk +++ b/win/win.ahk @@ -160,6 +160,10 @@ FocusWinByDirection(direction) { } MoveActiveWinByDirection(direction) { + WinGet, isMax, MinMax, A + if (isMax) { + WinRestore, A + } global RATIO GetCursorMonGeometry(x, y, w, h) activeWinId := WinExist("A")