Merge pull request #59 from AngelAuraMC/fix/revert-forced-grabbing

fix(Touchpad): Fix #58
This commit is contained in:
alexytomi 2025-08-03 21:14:35 +08:00 committed by GitHub
commit 223ba908f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,7 +71,6 @@ public class AndroidPointerCapture implements ViewTreeObserver.OnWindowFocusChan
public void handleAutomaticCapture() { public void handleAutomaticCapture() {
if (!CallbackBridge.isGrabbing() // Only capture if not in menu and user said so if (!CallbackBridge.isGrabbing() // Only capture if not in menu and user said so
&& !PREF_MOUSE_GRAB_FORCE) { && !PREF_MOUSE_GRAB_FORCE) {
mTouchpad.disable();
return; return;
} }
if (mHostView.hasPointerCapture()) { if (mHostView.hasPointerCapture()) {