window.set_focus works first call in IRB
window.set_focus works first call in IRB

Set_focus nows send VK_SHIFT to the currently focused application
to ensure that at least one required condition of SetForegroundWindow()
is met.  See docs for Window.set_focus for more info.

robertwahler/win32-autogui