Added more debug info regading monitor config
Monitor_getWorkArea
This commit is contained in:
parent
5e2aa05528
commit
125bcdd7dd
1 changed files with 4 additions and 2 deletions
|
@ -145,7 +145,8 @@ Monitor_getWorkArea(m) {
|
|||
Local wndClasses, wndHeight, wndId, wndWidth, wndX, wndY
|
||||
|
||||
SysGet, monitor, Monitor, %m%
|
||||
|
||||
Debug_logMessage("DEBUG[0] Monitor_getWorkArea: #" . m . ", l: " . monitorLeft . ", r: " . monitorRight . ", t: " . monitorTop . ", b: " . monitorBottom . ".", 0)
|
||||
|
||||
wndClasses := "Shell_TrayWnd;Shell_SecondaryTrayWnd"
|
||||
;; @TODO What about third and so forth TrayWnd?
|
||||
If Config_bbCompatibility
|
||||
|
@ -160,7 +161,8 @@ Monitor_getWorkArea(m) {
|
|||
If (x >= monitorLeft && x <= monitorRight && y >= monitorTop && y <= monitorBottom) {
|
||||
If (A_LoopField = "Shell_TrayWnd") Or (A_LoopField = "Shell_SecondaryTrayWnd")
|
||||
Monitor_#%m%_taskBarClass := A_LoopField
|
||||
|
||||
|
||||
Debug_logMessage("DEBUG[3] Monitor_getWorkArea: #" . m . ", window class: " . A_LoopField . ", x: " . wndX . ", y: " . wndY . ", w: " . wndWidth . ", h: " . wndHeight . ".", 3)
|
||||
If (wndHeight < wndWidth) {
|
||||
;; Horizontal
|
||||
If (wndY <= monitorTop) {
|
||||
|
|
Loading…
Reference in a new issue