mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-27 06:20:01 +00:00
Fix inverted mouse capture bug
This commit is contained in:
1 parent
16d1e6181b
commit
6777e79e70
1 file changed
+2
-2
@@ -1129,10 +1129,10 @@ public class Game extends Activity implements SurfaceHolder.Callback,
|
|||||||
private void setInputGrabState(boolean grab) {
|
private void setInputGrabState(boolean grab) {
|
||||||
// Grab/ungrab the mouse cursor
|
// Grab/ungrab the mouse cursor
|
||||||
if (grab) {
|
if (grab) {
|
||||||
inputCaptureProvider.disableCapture();
|
inputCaptureProvider.enableCapture();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
inputCaptureProvider.enableCapture();
|
inputCaptureProvider.disableCapture();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Grab/ungrab system keyboard shortcuts
|
// Grab/ungrab system keyboard shortcuts
|
||||||
|
|||||||
Reference in new issue
Block a user