[feature] auto unmaximize window before move
This commit is contained in:
parent
7ef32384a7
commit
738cc7581d
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user