Hi, I've recently added a keyboard handler (using osgGA::GUIEventHandler) to my program and it works but the keyboard focus is lost when the program ends and I have to click a window with the mouse to re-enable the keyboard. My operating system is Debian ARMHF.
The fix I've found is to change src/osgViewer/GraphicsWindowX11.cpp so its XSetInputFocus call (there is only one) uses RevertToParent rather than RevertToNone. Does this sound like a reasonable solution or can anyone see any problems here ? I can try to supply a patch if this will kelp. Thanks, ------------------------ -- Steven Saunderson ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61438#61438 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

