mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-21 03:52:48 +00:00
Ignore absolute touch events from outside the stream view
This commit is contained in:
parent
cc877480ff
commit
efd076bc6c
@ -1310,6 +1310,11 @@ public class Game extends Activity implements SurfaceHolder.Callback,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (view == null && !prefConfig.touchscreenTrackpad) {
|
||||||
|
// Absolute touch events should be dropped outside our view.
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
int actionIndex = event.getActionIndex();
|
int actionIndex = event.getActionIndex();
|
||||||
|
|
||||||
int eventX = (int)event.getX(actionIndex);
|
int eventX = (int)event.getX(actionIndex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user