Fixed issue #24 by ignoring elevated windows

This commit is contained in:
joten 2015-02-12 20:35:41 +01:00
parent 1928410f78
commit e2288561dc
2 changed files with 10 additions and 0 deletions

View file

@ -380,6 +380,9 @@ Manager_manage(preferredMonitor, preferredView, wndId)
tags := 1 << (preferredView - 1)
}
If Window_isElevated(wndId)
isManaged := 0
a := Manager__setWinProperties( wndId, isManaged, m, tags, isDecorated, isFloating, hideTitle, action)
; Do view placement.

View file

@ -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) {
Local wndClass, wndProc