From: <ma...@us...> - 2012-01-02 22:04:00
|
Revision: 3718 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3718&view=rev Author: matzon Date: 2012-01-02 22:03:53 +0000 (Mon, 02 Jan 2012) Log Message: ----------- undoing commit of r3717 Revision Links: -------------- http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3717&view=rev Modified Paths: -------------- trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsDisplay.java Modified: trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsDisplay.java =================================================================== --- trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsDisplay.java 2012-01-02 21:59:20 UTC (rev 3717) +++ trunk/LWJGL/src/java/org/lwjgl/opengl/WindowsDisplay.java 2012-01-02 22:03:53 UTC (rev 3718) @@ -69,8 +69,6 @@ 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 @@ 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 @@ 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 @@ 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; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |