mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-11 10:56:25 +08:00
removed some unused include file dependencies and logging info only for debug
This commit is contained in:
@@ -126,7 +126,7 @@ add_library(platform STATIC ${src})
|
|||||||
target_link_libraries(platform client ${libs})
|
target_link_libraries(platform client ${libs})
|
||||||
|
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
target_link_libraries(platform io net ipc synergy server client ${libs})
|
target_link_libraries(platform io net ipc synergy client ${libs})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
|
|||||||
@@ -35,9 +35,7 @@
|
|||||||
#include "COSXDragSimulator.h"
|
#include "COSXDragSimulator.h"
|
||||||
#include "COSXPasteboardPeeker.h"
|
#include "COSXPasteboardPeeker.h"
|
||||||
#include "CClientApp.h"
|
#include "CClientApp.h"
|
||||||
#include "CServerApp.h"
|
|
||||||
#include "CClient.h"
|
#include "CClient.h"
|
||||||
#include "CServer.h"
|
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1971,9 +1971,7 @@ CServer::writeToDropDirThread(void*)
|
|||||||
LOG((CLOG_DEBUG "write to drop dir: fakeDraggingStarted = true"));
|
LOG((CLOG_DEBUG "write to drop dir: fakeDraggingStarted = true"));
|
||||||
ARCH->sleep(.1f);
|
ARCH->sleep(.1f);
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG((CLOG_DEBUG "write to drop dir: fakeDraggingStarted = false"));
|
|
||||||
|
|
||||||
m_fileTransferDes = m_screen->getDropTarget();
|
m_fileTransferDes = m_screen->getDropTarget();
|
||||||
if (!m_fileTransferDes.empty() && m_dragFileList.size() > 0) {
|
if (!m_fileTransferDes.empty() && m_dragFileList.size() > 0) {
|
||||||
std::fstream file;
|
std::fstream file;
|
||||||
|
|||||||
Reference in New Issue
Block a user