diff options
Diffstat (limited to 'vncviewer/EmulateMB.cxx')
-rw-r--r-- | vncviewer/EmulateMB.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vncviewer/EmulateMB.cxx b/vncviewer/EmulateMB.cxx index 3cd3fea6..33e685c4 100644 --- a/vncviewer/EmulateMB.cxx +++ b/vncviewer/EmulateMB.cxx @@ -304,7 +304,7 @@ bool EmulateMB::handleTimeout(rfb::Timer *t) // Pointer move events are not sent when waiting for the timeout. // However, we can't let the position get out of sync so when // the pointer has moved we have to send the latest position here. - if (!origPos.equals(lastPos)) { + if (origPos != lastPos) { buttonMask = createButtonMask(buttonMask); sendPointerEvent(lastPos, buttonMask); } |