diff options
author | Sven Gothel <[email protected]> | 2010-11-28 22:00:15 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-28 22:00:15 +0100 |
commit | f1b6d82acda9c88bfeb8d1913b4d101539c45391 (patch) | |
tree | 18a0c03ecca45a724762489c14d7379fb257cccb | |
parent | 597007fc23fbf86e036629b6c6b157e0e0506715 (diff) |
NEWT/X11: Don't erase background with pixmap or pixel
-rw-r--r-- | src/newt/native/X11Window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newt/native/X11Window.c b/src/newt/native/X11Window.c index 7a19cf202..92e60e44b 100644 --- a/src/newt/native/X11Window.c +++ b/src/newt/native/X11Window.c @@ -1297,14 +1297,14 @@ JNIEXPORT jlong JNICALL Java_com_jogamp_newt_impl_x11_X11Window_CreateWindow0 pVisualQuery=NULL; } - attrMask = ( CWBackingStore | CWBackingPlanes | CWBackingPixel | CWBackPixel | + attrMask = ( CWBackingStore | CWBackingPlanes | CWBackingPixel | CWBackPixmap | CWBorderPixel | CWColormap | CWOverrideRedirect ) ; memset(&xswa, 0, sizeof(xswa)); // xswa.override_redirect = ( 0 != parent ) ? False : True; xswa.override_redirect = False; // use the window manager, always xswa.border_pixel = 0; - xswa.background_pixel = 0; + xswa.background_pixmap = None; xswa.backing_store=NotUseful; /* NotUseful, WhenMapped, Always */ xswa.backing_planes=0; /* planes to be preserved if possible */ xswa.backing_pixel=0; /* value to use in restoring planes */ |