Skip to content

Commit

Permalink
make window focus work, following suggestion at
Browse files Browse the repository at this point in the history
  • Loading branch information
Viraj Navkal committed Jan 18, 2022
1 parent ab56208 commit 2476d0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions desktop_switcher.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ switchDesktopToLeft()
}

focusTheForemostWindow(targetDesktop) {
Send !{Esc}
foremostWindowId := getForemostWindowIdOnDesktop(targetDesktop)
WinActivate, ahk_id %foremostWindowId%
}
Expand Down

0 comments on commit 2476d0f

Please sign in to comment.