Win32: Make isFocused false at window creation to stop the message loop from running appActivate(false) when the window is being initially activated

This commit is contained in:
Elias Naur 2004-11-14 01:18:56 +00:00
parent de41972b2e
commit bf5249da86
1 changed files with 1 additions and 1 deletions

View File

@ -631,7 +631,7 @@ JNIEXPORT jobjectArray JNICALL Java_org_lwjgl_opengl_Win32Display_getAvailableDi
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Win32Display_createWindow(JNIEnv *env, jobject self, jobject mode, jboolean fullscreen, jint x, jint y) {
closerequested = false;
isMinimized = false;
isFocused = true;
isFocused = false;
isDirty = true;
isFullScreen = fullscreen == JNI_TRUE;
isUndecorated = getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated");