From 65c16c374159d2ed9933fedd9fe279f4387ce654 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Mon, 5 Apr 2004 14:19:25 +0000 Subject: [PATCH] *** empty log message *** --- src/native/linux/org_lwjgl_opengl_Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/native/linux/org_lwjgl_opengl_Window.cpp b/src/native/linux/org_lwjgl_opengl_Window.cpp index a00b8210..1a471cc9 100644 --- a/src/native/linux/org_lwjgl_opengl_Window.cpp +++ b/src/native/linux/org_lwjgl_opengl_Window.cpp @@ -204,7 +204,7 @@ static void createWindow(JNIEnv* env, Display *disp, int screen, XVisualInfo *vi attribs.event_mask = ExposureMask | FocusChangeMask | VisibilityChangeMask| StructureNotifyMask | KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask | PointerMotionMask; attribs.background_pixel = 0xFF000000; attribmask = CWColormap | CWBackPixel | CWEventMask; - if (fullscreen && undecorated) { + if (fullscreen || undecorated) { attribmask |= CWOverrideRedirect; attribs.override_redirect = True; }