sajty/ember — comment on commit bdf80d1bece1cc5512eebeb41a6e962b5c3b2557
File: src/services/input/Input.h line 276
By sajty:

I found a cross-platform way for doing this.
Basically we should not check for alt+tab, but instead check for window focus change event and release grab there. We can do this easily with Ogre::WindowEventListener::windowFocusChange and thats working on windows too. :)