diff --git a/app/src/main/java/com/limelight/Game.java b/app/src/main/java/com/limelight/Game.java index 443ce90c..0430a67c 100644 --- a/app/src/main/java/com/limelight/Game.java +++ b/app/src/main/java/com/limelight/Game.java @@ -1129,10 +1129,10 @@ public class Game extends Activity implements SurfaceHolder.Callback, private void setInputGrabState(boolean grab) { // Grab/ungrab the mouse cursor if (grab) { - inputCaptureProvider.disableCapture(); + inputCaptureProvider.enableCapture(); } else { - inputCaptureProvider.enableCapture(); + inputCaptureProvider.disableCapture(); } // Grab/ungrab system keyboard shortcuts