summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2017-11-16 16:46:30 +0100
committerPierre Ossman <ossman@cendio.se>2017-11-17 08:06:30 +0100
commitd329c3ef0806e8e3d47a637e012941d0418bf93b (patch)
treebedb094dada9ba6b446f44b48fe052b797b4a197
parent387a41770ba5f0ee5b30b78b4c537de342064d9e (diff)
downloadtigervnc-d329c3ef0806e8e3d47a637e012941d0418bf93b.tar.gz
tigervnc-d329c3ef0806e8e3d47a637e012941d0418bf93b.zip
Remove double cursor workaround in client
We've fixed the issue more properly in the server now, so remove the workaround we had in the client.
-rw-r--r--vncviewer/Viewport.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx
index 31d09a1e..090c32f5 100644
--- a/vncviewer/Viewport.cxx
+++ b/vncviewer/Viewport.cxx
@@ -179,12 +179,6 @@ Viewport::Viewport(int w, int h, const rfb::PixelFormat& serverPF, CConn* cc_)
setMenuKey();
OptionsDialog::addCallback(handleOptions, this);
-
- // Send a fake pointer event so that the server will stop rendering
- // a server-side cursor. Ideally we'd like to send the actual pointer
- // position, but we can't really tell when the window manager is done
- // placing us so we don't have a good time for that.
- handlePointerEvent(Point(w/2, h/2), 0);
}