diff --git a/src/lib/platform/CMakeLists.txt b/src/lib/platform/CMakeLists.txt index d912aef4..12de3f30 100644 --- a/src/lib/platform/CMakeLists.txt +++ b/src/lib/platform/CMakeLists.txt @@ -126,7 +126,7 @@ add_library(platform STATIC ${src}) target_link_libraries(platform client ${libs}) if (UNIX) - target_link_libraries(platform io net ipc synergy server client ${libs}) + target_link_libraries(platform io net ipc synergy client ${libs}) endif() if (APPLE) diff --git a/src/lib/platform/COSXScreen.cpp b/src/lib/platform/COSXScreen.cpp index 358a774a..fbe789ed 100644 --- a/src/lib/platform/COSXScreen.cpp +++ b/src/lib/platform/COSXScreen.cpp @@ -35,9 +35,7 @@ #include "COSXDragSimulator.h" #include "COSXPasteboardPeeker.h" #include "CClientApp.h" -#include "CServerApp.h" #include "CClient.h" -#include "CServer.h" #include diff --git a/src/lib/server/CServer.cpp b/src/lib/server/CServer.cpp index 45c2333f..7c12b970 100644 --- a/src/lib/server/CServer.cpp +++ b/src/lib/server/CServer.cpp @@ -1971,9 +1971,7 @@ CServer::writeToDropDirThread(void*) LOG((CLOG_DEBUG "write to drop dir: fakeDraggingStarted = true")); ARCH->sleep(.1f); } - - LOG((CLOG_DEBUG "write to drop dir: fakeDraggingStarted = false")); - + m_fileTransferDes = m_screen->getDropTarget(); if (!m_fileTransferDes.empty() && m_dragFileList.size() > 0) { std::fstream file;