mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-03-26 23:25:54 +01:00
Linux: Tweak LinuxAWTInput
This commit is contained in:
parent
c6ba2c66b1
commit
f7b0c5c1b2
|
|
@ -170,10 +170,10 @@ final class LinuxAWTInput extends AbstractAWTInput {
|
|||
|
||||
public synchronized void grabMouse(boolean grab) {
|
||||
if (grab != isGrabbed()) {
|
||||
super.grabMouse(grab);
|
||||
if (cached_mouse != null)
|
||||
cached_mouse.changeGrabbed(grab, shouldGrab());
|
||||
ungrabInputLocked();
|
||||
super.grabMouse(grab);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue