Skip to content

Commit

Permalink
Test[capture]: Make grabbing non-opportunistic
Browse files Browse the repository at this point in the history
  • Loading branch information
artdeell committed Jul 5, 2024
1 parent 348fc84 commit 7631e3c
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ private void enableTouchpadIfNecessary() {
}

public void handleAutomaticCapture() {
if(!CallbackBridge.isGrabbing()) return;
if(mHostView.hasPointerCapture()) {
enableTouchpadIfNecessary();
return;
}
if(!mHostView.hasWindowFocus()) {
mHostView.requestFocus();
} else {
Expand Down

0 comments on commit 7631e3c

Please sign in to comment.