From c32fe949904ef0eda0015c7c22e77c8fbf1c960d Mon Sep 17 00:00:00 2001 From: Brian Matzon Date: Wed, 1 Feb 2012 22:50:59 +0000 Subject: [PATCH] updated fix for resizable --- src/java/org/lwjgl/opengl/WindowsDisplay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/lwjgl/opengl/WindowsDisplay.java b/src/java/org/lwjgl/opengl/WindowsDisplay.java index 606dabef..7852e95c 100644 --- a/src/java/org/lwjgl/opengl/WindowsDisplay.java +++ b/src/java/org/lwjgl/opengl/WindowsDisplay.java @@ -207,6 +207,7 @@ final class WindowsDisplay implements DisplayImplementation { hasParent = parent != null; long parent_hwnd = parent != null ? getHwnd(parent) : 0; this.hwnd = nCreateWindow(x, y, mode.getWidth(), mode.getHeight(), Display.isFullscreen() || isUndecorated(), parent != null, parent_hwnd); + this.resizable=false; if (hwnd == 0) { throw new LWJGLException("Failed to create window"); } @@ -372,7 +373,6 @@ final class WindowsDisplay implements DisplayImplementation { if (mode_set) { mode_set = false; nResetDisplayMode(); - setResizable(this.resizable); } resetCursorClipping(); }