From d329c3ef0806e8e3d47a637e012941d0418bf93b Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 16 Nov 2017 16:46:30 +0100 Subject: [PATCH] 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. --- vncviewer/Viewport.cxx | 6 ------ 1 file changed, 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); } -- 2.39.5