diff --git a/server/src/com/genymobile/scrcpy/Point.java b/server/src/com/genymobile/scrcpy/Point.java index 6e5371088d..ade349d12e 100644 --- a/server/src/com/genymobile/scrcpy/Point.java +++ b/server/src/com/genymobile/scrcpy/Point.java @@ -30,4 +30,13 @@ public int getScreenHeight() { return screenHeight; } + @Override + public String toString() { + return "Point{" + + "x=" + x + + ", y=" + y + + ", screenWidth=" + screenWidth + + ", screenHeight=" + screenHeight + + '}'; + } } diff --git a/server/src/com/genymobile/scrcpy/RawPoint.java b/server/src/com/genymobile/scrcpy/RawPoint.java index e1b8d9219d..d9ac5c8ebd 100644 --- a/server/src/com/genymobile/scrcpy/RawPoint.java +++ b/server/src/com/genymobile/scrcpy/RawPoint.java @@ -17,4 +17,11 @@ public int getY() { return y; } + @Override + public String toString() { + return "RawPoint{" + + "x=" + x + + ", y=" + y + + '}'; + } }