mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-12 06:35:04 +08:00
fixed drop target dir out of date
This commit is contained in:
@@ -93,6 +93,8 @@ fakeDragging(const char* str, int length, int cursorX, int cursorY)
|
||||
CFStringRef
|
||||
getCocoaDropTarget()
|
||||
{
|
||||
// HACK: sleep, wait for cocoa drop target updated first
|
||||
usleep(1000000);
|
||||
return [g_dragView getDropTarget];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user