Windows AWTInput: Make sure the cursor is contained within the window when the Mouse is grabbed.

This commit is contained in:
Elias Naur 2007-01-30 13:08:51 +00:00
parent e8d032973f
commit 46ce5679c8
2 changed files with 18 additions and 9 deletions

View file

@ -145,8 +145,8 @@ final class WindowsDisplay implements DisplayImplementation {
resetCursorClipping();
}
private static native void nDestroyWindow();
private static native void resetCursorClipping();
private static native void setupCursorClipping(long hwnd) throws LWJGLException;
static native void resetCursorClipping();
static native void setupCursorClipping(long hwnd) throws LWJGLException;
public void switchDisplayMode(DisplayMode mode) throws LWJGLException {
nSwitchDisplayMode(mode);