Hi Bram, On 12 May 2013 19:54, Bram Vaessen <[email protected]> wrote:
> I've been looking for a while on the forum and using google, and looking > in the documentation and the code, but i can't seem to find: > > how can I detect if a window (osgViewer::GraphicsWindow) has lost focus? I > see there is a function to GRAB focus, but isn't it possible to check > whether or not the window HAS focus? > There isn't any built in support for tracking when a window has lost focus. I have never tried implementing code that tracks focus at a Windowing level so can't guide you with this, but it almost certainly will require some platform specific code, what it might be I have no clue. Robert.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

