mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 16:16:04 -04:00
Test[capture]: Make grabbing non-opportunistic
This commit is contained in:
parent
348fc84cb4
commit
7631e3c9e7
@ -35,11 +35,6 @@ public class AndroidPointerCapture implements ViewTreeObserver.OnWindowFocusChan
|
||||
}
|
||||
|
||||
public void handleAutomaticCapture() {
|
||||
if(!CallbackBridge.isGrabbing()) return;
|
||||
if(mHostView.hasPointerCapture()) {
|
||||
enableTouchpadIfNecessary();
|
||||
return;
|
||||
}
|
||||
if(!mHostView.hasWindowFocus()) {
|
||||
mHostView.requestFocus();
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user