mirror of
https://github.com/debauchee/barrier.git
synced 2025-06-06 12:51:40 +02:00
Feature to drag a file from Windows (client) to Mac (server):
- changed the size of the window for dragging on Mac to 3 by 3 pixels. - on server side, use a new thread to write file to the drop directory.
This commit is contained in:
parent
e145fef76f
commit
4816a30db3
12 changed files with 126 additions and 55 deletions
|
@ -362,6 +362,9 @@ private:
|
|||
|
||||
// thread funciton for sending file
|
||||
void sendFileThread(void*);
|
||||
|
||||
// thread function for writing file to drop directory
|
||||
void writeToDropDirThread(void*);
|
||||
|
||||
public:
|
||||
bool m_mock;
|
||||
|
@ -466,6 +469,8 @@ private:
|
|||
CString m_fileTransferDes;
|
||||
CDragFileList m_dragFileList;
|
||||
CThread* m_sendFileThread;
|
||||
CThread* m_writeToDropDir;
|
||||
CString m_dragFileExt;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue