Skip to content

Commit

Permalink
Fix bug where I hadn't changed the parameter order to getWindow() yet…
Browse files Browse the repository at this point in the history
… for class/title.
  • Loading branch information
theborg3of5 committed Jan 23, 2018
1 parent 06300ec commit af74e26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions config/windows.tl
Expand Up @@ -32,8 +32,8 @@

; Web popups - close on Escape.
[{ESC}r:CLOSE_WINDOW]
Pushbullet chrome.exe Chrome_WidgetWin_1 Pushbullet
TickTick chrome.exe Chrome_WidgetWin_1 All - TickTick
Pushbullet chrome.exe - Pushbullet
TickTick chrome.exe - All - TickTick
[]

; Windows that have odd borders and need different offsets - mainly Office programs.
Expand All @@ -42,7 +42,7 @@
Word WINWORD.EXE
Excel EXCEL.EXE
PowerPoint POWERPNT.EXE
; OneNote ONENOTE.EXE
OneNote ONENOTE.EXE
GitHub GitHubDesktop.exe
Chrome chrome.exe
Steam Steam.exe
Expand Down
2 changes: 1 addition & 1 deletion source/common/mainConfig.ahk
Expand Up @@ -150,7 +150,7 @@ class MainConfig {
}
}

getWindow(name = "", exe = "", title = "", ahkClass = "", controlClass = "") {
getWindow(name = "", exe = "", ahkClass = "", title = "", controlClass = "") {
retWindow := ""
if(!name && !exe && !ahkClass && !title && !controlClass)
return ""
Expand Down

0 comments on commit af74e26

Please sign in to comment.