[osg-submissions] X11WindowingSystemInterface sets X11 error handler
Colin McDonald
cjmcdonald at qinetiq.com
Thu Apr 3 09:01:48 PDT 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: X11ErrorHandler.zip
Type: application/zip
Size: 12478 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080403/dbb0ac45/attachment-0001.zip
More information about the osg-submissions
mailing list