Added methods to check and request window focus
Merge pull request #48 from zsbzsb/feature/window_focus

Added methods to check and request window focus