diff options
author | Damien Plisson <damien.plisson@yahoo.fr> | 2009-12-18 12:50:14 +0300 |
---|---|---|
committer | Damien Plisson <damien.plisson@yahoo.fr> | 2009-12-18 12:50:14 +0300 |
commit | f09d2e6bc164fec37644d00757723076a1f40ac7 (patch) | |
tree | a0064eaaa4e5f8c4ccd21b61338f0c9e48da0a7b /intern/ghost | |
parent | f6e82f71a56fa76bf58eeb7bd77f2d2748a2c9e4 (diff) |
Cocoa : fix Dropped on application event was not sent
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 37befdf7f85..41601cd1c49 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -958,7 +958,7 @@ GHOST_TSuccess GHOST_SystemCocoa::handleWindowEvent(GHOST_TEventType eventType, GHOST_TSuccess GHOST_SystemCocoa::handleDraggingEvent(GHOST_TEventType eventType, GHOST_TDragnDropTypes draggedObjectType, GHOST_WindowCocoa* window, int mouseX, int mouseY, void* data) { - if (!validWindow(window)) { + if (!validWindow(window) && (eventType != GHOST_kEventDraggingDropOnIcon)) { return GHOST_kFailure; } switch(eventType) |