diff --git a/include/osgViewer/GraphicsWindowX11 b/include/osgViewer/GraphicsWindowX11 index 3eb3ee703..4f3eaa45e 100644 --- a/include/osgViewer/GraphicsWindowX11 +++ b/include/osgViewer/GraphicsWindowX11 @@ -124,6 +124,8 @@ class GraphicsWindowX11 : public osgViewer::GraphicsWindow Cursor _defaultCursor; Cursor _nullCursor; Cursor _currentCursor; + + Atom _deleteWindow; bool _initialized; bool _realized; diff --git a/src/osgViewer/GraphicsWindowX11.cpp b/src/osgViewer/GraphicsWindowX11.cpp index 98e0de89f..fba3dc1e0 100644 --- a/src/osgViewer/GraphicsWindowX11.cpp +++ b/src/osgViewer/GraphicsWindowX11.cpp @@ -504,6 +504,9 @@ void GraphicsWindowX11::init() //osg::notify(osg::NOTICE)<<"After sync apply.x = "<width; int windowHeight = _traits->height; - // osg::notify(osg::NOTICE)<<"Check events"<