mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-02-16 18:40:46 +00:00
Fix inverted mouse capture bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user