fixed drop target dir out of date

This commit is contained in:
jerry 2013-09-25 13:11:19 +00:00
parent 6c6b40e644
commit 8301d50ab7
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ fakeDragging(const char* str, int length, int cursorX, int cursorY)
CFStringRef CFStringRef
getCocoaDropTarget() getCocoaDropTarget()
{ {
// HACK: sleep, wait for cocoa drop target updated first
usleep(1000000);
return [g_dragView getDropTarget]; return [g_dragView getDropTarget];
} }