Added support for X11's overrideRedirect functionality

This commit is contained in:
Robert Osfield
2008-06-21 17:50:58 +00:00
parent 113a77b219
commit af271f99ec
3 changed files with 10 additions and 3 deletions

View File

@@ -92,7 +92,8 @@ class OSG_EXPORT GraphicsContext : public Object
useMultiThreadedOpenGLEngine(false),
useCursor(true),
sharedContext(0),
setInheritedWindowPixelFormat(false) {}
setInheritedWindowPixelFormat(false),
overrideRedirect(false) {}
// graphics context original and size
int x;
@@ -145,6 +146,9 @@ class OSG_EXPORT GraphicsContext : public Object
// ask the GraphicsWindow implementation to set the pixel format of an inherited window
bool setInheritedWindowPixelFormat;
// X11 hint whether to override the window managers window size/position redirection
bool overrideRedirect;
};