From b0dafc2a253cef6e46ca7439725d14c45f3bee61 Mon Sep 17 00:00:00 2001 From: Brian Matzon Date: Mon, 2 Jan 2012 22:03:53 +0000 Subject: [PATCH] undoing commit of r3717 --- src/java/org/lwjgl/opengl/WindowsDisplay.java | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/java/org/lwjgl/opengl/WindowsDisplay.java b/src/java/org/lwjgl/opengl/WindowsDisplay.java index 6a69248c..bbca5ed4 100644 --- a/src/java/org/lwjgl/opengl/WindowsDisplay.java +++ b/src/java/org/lwjgl/opengl/WindowsDisplay.java @@ -69,8 +69,6 @@ final class WindowsDisplay implements DisplayImplementation { private static final int WM_ENTERSIZEMOVE = 0x0231; private static final int WM_EXITSIZEMOVE = 0x0232; private static final int WM_SIZING = 0x0214; - private static final int WM_MOVING = 0x0216; - private static final int WM_KEYDOWN = 256; private static final int WM_KEYUP = 257; private static final int WM_SYSKEYUP = 261; @@ -78,7 +76,6 @@ final class WindowsDisplay implements DisplayImplementation { private static final int WM_SYSCHAR = 262; private static final int WM_CHAR = 258; private static final int WM_SETICON = 0x0080; - private static final int WM_SETCURSOR = 0x0020; private static final int WM_QUIT = 0x0012; private static final int WM_SYSCOMMAND = 0x0112; @@ -145,8 +142,6 @@ final class WindowsDisplay implements DisplayImplementation { private static final int GWL_EXSTYLE = -20; private static final int WS_THICKFRAME = 0x00040000; - - private static final int HTCLIENT = 0x01; private static WindowsDisplay current_display; @@ -871,24 +866,10 @@ final class WindowsDisplay implements DisplayImplementation { return defWindowProc(hwnd, msg, wParam, lParam); case WM_EXITSIZEMOVE: return defWindowProc(hwnd, msg, wParam, lParam); - case WM_MOVING: - Display.callReshapeCallbackAndSwap(); - return defWindowProc(hwnd, msg, wParam, lParam); case WM_SIZING: resized = true; updateWidthAndHeight(); - Display.callReshapeCallbackAndSwap(); return defWindowProc(hwnd, msg, wParam, lParam); - case WM_SETCURSOR: - if((lParam & 0xFFFF) == HTCLIENT) { - // if the cursor is inside the client area, reset it - // to the current LWJGL-cursor - updateCursor(); - return -1; //TRUE - } else { - // let Windows handle cursors outside the client area for resizing, etc. - return defWindowProc(hwnd, msg, wParam, lParam); - } case WM_KILLFOCUS: appActivate(false); return 0;