Fixed issue #24 by ignoring elevated windows
This commit is contained in:
parent
1928410f78
commit
e2288561dc
|
@ -380,6 +380,9 @@ Manager_manage(preferredMonitor, preferredView, wndId)
|
||||||
tags := 1 << (preferredView - 1)
|
tags := 1 << (preferredView - 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
If Window_isElevated(wndId)
|
||||||
|
isManaged := 0
|
||||||
|
|
||||||
a := Manager__setWinProperties( wndId, isManaged, m, tags, isDecorated, isFloating, hideTitle, action)
|
a := Manager__setWinProperties( wndId, isManaged, m, tags, isDecorated, isFloating, hideTitle, action)
|
||||||
|
|
||||||
; Do view placement.
|
; Do view placement.
|
||||||
|
|
|
@ -67,6 +67,13 @@ Window_hide(wndId) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Window_isElevated(wndId) {
|
||||||
|
WinGetTitle, wndTitle, ahk_id %wndId%
|
||||||
|
WinSetTitle, ahk_id %wndId%, , % wndTitle " "
|
||||||
|
WinGetTitle, newWndTitle, ahk_id %wndId%
|
||||||
|
Return, (newWndTitle = wndTitle)
|
||||||
|
}
|
||||||
|
|
||||||
Window_isGhost(wndId) {
|
Window_isGhost(wndId) {
|
||||||
Local wndClass, wndProc
|
Local wndClass, wndProc
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue