fixed drop target dir out of date
This commit is contained in:
parent
6c6b40e644
commit
8301d50ab7
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue