Updated Window.ahk regarding issue #200
This commit is contained in:
parent
0601ffdcb8
commit
413a7c1976
1 changed files with 5 additions and 4 deletions
|
@ -263,12 +263,13 @@ Window_move(wndId, x, y, width, height) {
|
|||
Debug_logMessage("DEBUG[2] Window_move: Potentially hung window " . wndId, 1)
|
||||
Return, 1
|
||||
} Else {
|
||||
WinGetClass, wndClass, ahk_id %wndId%
|
||||
If (wndClass != "mintty") {
|
||||
SendMessage, WM_ENTERSIZEMOVE, , , , ahk_id %wndId%
|
||||
}
|
||||
SendMessage, WM_ENTERSIZEMOVE, , , , ahk_id %wndId%
|
||||
WinMove, ahk_id %wndId%, , %x%, %y%, %width%, %height%
|
||||
|
||||
WinGetClass, wndClass, ahk_id %wndId%
|
||||
If (wndClass == "mintty") {
|
||||
Sleep, % Config_shellMsgDelay
|
||||
}
|
||||
;If Not (wndMinMax = 1) Or Not Window_#%wndId%_isDecorated Or Manager_windowNotMaximized(width, height) {
|
||||
If Window_getPosEx(wndId, wndX, wndY, wndW, wndH) And (Abs(wndX - x) > 1 Or Abs(wndY - y) > 1 Or Abs(wndW - width) > 1 Or Abs(wndH - height) > 1) {
|
||||
x -= wndX - x
|
||||
|
|
Loading…
Reference in a new issue