mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
Windows AWTInput: Make sure the cursor is contained within the window when the Mouse is grabbed.
This commit is contained in:
parent
e8d032973f
commit
46ce5679c8
2 changed files with 18 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue