[feature] auto unmaximize window before move

This commit is contained in:
Klesh Wong 2021-02-27 09:52:47 +08:00
parent 7ef32384a7
commit 738cc7581d

View File

@ -160,6 +160,10 @@ FocusWinByDirection(direction) {
} }
MoveActiveWinByDirection(direction) { MoveActiveWinByDirection(direction) {
WinGet, isMax, MinMax, A
if (isMax) {
WinRestore, A
}
global RATIO global RATIO
GetCursorMonGeometry(x, y, w, h) GetCursorMonGeometry(x, y, w, h)
activeWinId := WinExist("A") activeWinId := WinExist("A")