In general its the a windowing system thing, nothing like confusing a user if an application does not follow the default of the window manager\system.
Typically from my exposure Unix/Linux/X11 etc follow the mouse over a window gets focus paradigm While MS Windoze on the other hand follows the click to focus paradigm Let the window manager determine this not the application -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Sébastien Guay Sent: Wednesday, May 14, 2008 2:47 PM To: OpenSceneGraph Submissions Subject: Re: [osg-submissions] Updated osgviewerWX example Hi Paul and Thibault, > I'm glad you updated the example, however I have just one little > remark regarding the focus: wouldn't it be surprising in a general > purpose GUI that a window (that is, our OSG window) capture the focus > when the mouse cursor just hovers it ? Isn't that up to the window manager to determine, actually? I know in KDE/Gnome, you can decide whether to use X style focusing, where the user can just hover the mouse over a window to give it focus, and click-focusing, like in Windows. I know nowadays most people use click-focusing, but it's still the window manager's job to tell the window whether it has the focus, not the application itself to "grab" focus... (I think...) J-S -- ______________________________________________________ Jean-Sebastien Guay [EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph. org _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
