diff options
author | Brian P. Hinz <bphinz@users.sf.net> | 2017-11-12 11:03:25 -0500 |
---|---|---|
committer | Brian P. Hinz <bphinz@users.sf.net> | 2017-11-13 18:20:50 -0500 |
commit | daa7a5e7e27971e25f90a2ab85425418ec8a19a5 (patch) | |
tree | 83d7d90aaa6f64eac8a60fe60a4bdfb57a29d9d9 /java/com/tigervnc/vncviewer/CConn.java | |
parent | ce4722f3cdae6a3446b15dd52ade93ca6f49dca6 (diff) | |
download | tigervnc-daa7a5e7e27971e25f90a2ab85425418ec8a19a5.tar.gz tigervnc-daa7a5e7e27971e25f90a2ab85425418ec8a19a5.zip |
Rename CMsgWriter functions to match C++ code
Diffstat (limited to 'java/com/tigervnc/vncviewer/CConn.java')
-rw-r--r-- | java/com/tigervnc/vncviewer/CConn.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java/com/tigervnc/vncviewer/CConn.java b/java/com/tigervnc/vncviewer/CConn.java index 85bdcb69..398ba9d0 100644 --- a/java/com/tigervnc/vncviewer/CConn.java +++ b/java/com/tigervnc/vncviewer/CConn.java @@ -757,7 +757,7 @@ public class CConn extends CConnection implements public void writeKeyEvent(int keysym, boolean down) { if (state() != RFBSTATE_NORMAL || shuttingDown) return; - writer().writeKeyEvent(keysym, down); + writer().keyEvent(keysym, down); } public void writeKeyEvent(KeyEvent ev) { @@ -866,7 +866,7 @@ public class CConn extends CConnection implements break; } - writer().writePointerEvent(new Point(ev.getX(), ev.getY()), buttonMask); + writer().pointerEvent(new Point(ev.getX(), ev.getY()), buttonMask); } public void writeWheelEvent(MouseWheelEvent ev) { @@ -882,9 +882,9 @@ public class CConn extends CConnection implements for (int i = 0; i < Math.abs(clicks); i++) { x = ev.getX(); y = ev.getY(); - writer().writePointerEvent(new Point(x, y), buttonMask); + writer().pointerEvent(new Point(x, y), buttonMask); buttonMask = 0; - writer().writePointerEvent(new Point(x, y), buttonMask); + writer().pointerEvent(new Point(x, y), buttonMask); } } |