diff --git a/src/lib/platform/OSXDragSimulator.m b/src/lib/platform/OSXDragSimulator.m index 6e905f93..70c788db 100644 --- a/src/lib/platform/OSXDragSimulator.m +++ b/src/lib/platform/OSXDragSimulator.m @@ -81,8 +81,8 @@ fakeDragging(const char* str, int cursorX, int cursorY) NSLog ( @"newPosY: %d", newPosY); [g_dragWindow setFrame:rect display:NO]; - [g_dragWindow makeKeyAndOrderFront:nil]; + [NSApp activateIgnoringOtherApps:YES]; [g_dragView setFileExt:g_ext];