mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-16 16:15:38 +02:00
fixed: linux client crashes on file drop, even though drag and drop is disabled
This commit is contained in:
parent
9c3e9aab09
commit
f149101d25
11 changed files with 72 additions and 62 deletions
|
@ -2095,15 +2095,13 @@ COSXScreen::CFStringRefToUTF8String(CFStringRef aString)
|
|||
void
|
||||
COSXScreen::fakeDraggingFiles(CString str)
|
||||
{
|
||||
if (CApp::instance().argsBase().m_enableDragDrop) {
|
||||
m_fakeDraggingStarted = true;
|
||||
m_fakeDraggingStarted = true;
|
||||
#if defined(MAC_OS_X_VERSION_10_7)
|
||||
// TODO: use real file extension
|
||||
fakeDragging("txt", 3, m_xCursor, m_yCursor);
|
||||
// TODO: use real file extension
|
||||
fakeDragging("txt", 3, m_xCursor, m_yCursor);
|
||||
#else
|
||||
LOG((CLOG_WARN "drag drop not supported"));
|
||||
LOG((CLOG_WARN "drag drop not supported"));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
CString&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue