From: Oliver Kurth Date: Tue, 24 Oct 2017 21:07:36 +0000 (-0700) Subject: DragNDrop plugin change for VMware Tools on Windows; not applicable to X-Git-Tag: stable-10.3.0~219 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6056c840a4a5593a3f4a87acc175b5eac3ce23dc;p=thirdparty%2Fopen-vm-tools.git DragNDrop plugin change for VMware Tools on Windows; not applicable to open-vm-tools. --- diff --git a/open-vm-tools/services/plugins/dndcp/dndGuest/guestDnDDest.cc b/open-vm-tools/services/plugins/dndcp/dndGuest/guestDnDDest.cc index 8d234d4cd..aadf06272 100644 --- a/open-vm-tools/services/plugins/dndcp/dndGuest/guestDnDDest.cc +++ b/open-vm-tools/services/plugins/dndcp/dndGuest/guestDnDDest.cc @@ -237,7 +237,14 @@ GuestDnDDest::OnRpcDrop(uint32 sessionId, void GuestDnDDest::OnRpcCancel(uint32 sessionId) { + /* + * For Windows, the detection window will hide when the drop + * event occurs. + * Please see bug 1750683. + */ +#if !defined(_WIN32) mMgr->DelayHideDetWnd(); +#endif // _WIN32 mMgr->RemoveUngrabTimeout(); mMgr->destCancelChanged.emit(); mMgr->SetState(GUEST_DND_READY);