Warn on ignored touch event
In theory, this was expected to only happen when a touch event is sent just before the device is rotated, but some devices do not respect the encoding size, causing an unexpected mismatch. Refs #1518 <https://github.com/Genymobile/scrcpy/issues/1518>
This commit is contained in:
parent
deea29f52a
commit
a973757fd1
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ public class Controller {
|
|||
|
||||
Point point = device.getPhysicalPoint(position);
|
||||
if (point == null) {
|
||||
// ignore event
|
||||
Ln.w("Ignore touch event, it was generated for a different device size");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue