mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-17 08:27:39 +02:00
fixed: file is dragged twice by accident.
fixed: exe and lnk files dragged by accident. fixed: "dir" used instead of "filename".
This commit is contained in:
parent
98f8a12425
commit
cfc1aa2569
3 changed files with 37 additions and 8 deletions
|
@ -1669,10 +1669,10 @@ CServer::onMouseUp(ButtonID id)
|
|||
}
|
||||
|
||||
if (m_enableDragDrop && !m_screen->isOnScreen()) {
|
||||
CString& dir = m_screen->getDraggingFilename();
|
||||
if (!dir.empty()) {
|
||||
LOG((CLOG_DEBUG "send file to client: %s", dir.c_str()));
|
||||
sendFileToClient(dir.c_str());
|
||||
CString& file = m_screen->getDraggingFilename();
|
||||
if (!file.empty()) {
|
||||
LOG((CLOG_DEBUG "send file to client: %s", file.c_str()));
|
||||
sendFileToClient(file.c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue