mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 13:15:33 +08:00
- checked filename's validation before sending drag info
- refactored duplicated write to drop dir code - removed legacy member variables - fixed code style - fixed typo
This commit is contained in:
@@ -911,12 +911,6 @@ COSXScreen::leave()
|
||||
CString& fileList = getDraggingFilename();
|
||||
|
||||
if (!m_isPrimary) {
|
||||
// TODO: is this duplicated?
|
||||
// fake esc key down and up
|
||||
fakeKeyDown(kKeyEscape, 8192, 1);
|
||||
fakeKeyUp(1);
|
||||
fakeMouseButton(kButtonLeft, false);
|
||||
|
||||
if (fileList.empty() == false) {
|
||||
CClientApp& app = CClientApp::instance();
|
||||
CClient* client = app.getClientPtr();
|
||||
|
||||
Reference in New Issue
Block a user