mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-13 07:06:10 +08:00
fixed drag drop from Mac server to Windows client
This commit is contained in:
@@ -1752,7 +1752,7 @@ CServer::onMouseMovePrimary(SInt32 x, SInt32 y)
|
||||
LOG((CLOG_DEBUG3 "dragging file list: %s", fileList));
|
||||
LOG((CLOG_DEBUG3 "dragging file list string size: %i", size));
|
||||
newScreen->draggingInfoSending(fileCount, fileList, size);
|
||||
m_screen->setDraggingStarted(false);
|
||||
//m_screen->setDraggingStarted(false);
|
||||
}
|
||||
|
||||
// switch screen
|
||||
@@ -2307,3 +2307,9 @@ CServer::dragInfoReceived(UInt32 fileNum, CString content)
|
||||
LOG((CLOG_DEBUG2 "dragging file %i name: %s", i + 1, m_dragFileList.at(i).c_str()));
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
CServer::draggingInfoSending(UInt32 fileCount, CString& fileList, size_t size)
|
||||
{
|
||||
m_active->draggingInfoSending(fileCount, fileList.c_str(), size);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user