new commit for getforegroundwindow.