[osg-submissions] X11WindowingSystemInterface sets X11 error handler
Robert Osfield
robert.osfield at gmail.com
Thu Apr 3 10:11:42 PDT 2008
Thanks Colin, the change looks very reasonable so is now merged and
submitted to SVN.
On Thu, Apr 3, 2008 at 5:01 PM, Colin McDonald <cjmcdonald at qinetiq.com>
wrote:
> Hi Robert,
>
> The X11WindowingSystemInterface in osgViewer/GraphicsWindowX11.cpp
> unconditionally sets the X11 error handler routine, replacing anything
> that was previously set. This is a bit unfriendly, as the X11 error
> handler is a global attribute which the application, or the GUI toolkit
> being used, may well have set itself.
>
> So I have modified X11WindowingSystemInterface to only replace the error
> handler if it is the default i.e. if the application has not set it.
>
> Regards
>
> Colin McDonald
>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080403/483181d6/attachment.html
More information about the osg-submissions
mailing list