diff --git a/src/juce_appframework/gui/components/juce_Desktop.cpp b/src/juce_appframework/gui/components/juce_Desktop.cpp index 24308711a2..aee61fe287 100644 --- a/src/juce_appframework/gui/components/juce_Desktop.cpp +++ b/src/juce_appframework/gui/components/juce_Desktop.cpp @@ -133,6 +133,10 @@ const Rectangle Desktop::getMonitorAreaContaining (int cx, int cy, const bool cl for (int i = getNumDisplayMonitors(); --i > 0;) { const Rectangle rect (getDisplayMonitorCoordinates (i, clippedToWorkArea)); + + if (rect.contains (cx, cy)) + return rect; + const double distance = juce_hypot ((double) (rect.getCentreX() - cx), (double) (rect.getCentreY() - cy)); diff --git a/src/juce_appframework/gui/components/special/juce_QuickTimeMovieComponent.cpp b/src/juce_appframework/gui/components/special/juce_QuickTimeMovieComponent.cpp index 2479c7a8f6..cb85e093b8 100644 --- a/src/juce_appframework/gui/components/special/juce_QuickTimeMovieComponent.cpp +++ b/src/juce_appframework/gui/components/special/juce_QuickTimeMovieComponent.cpp @@ -534,6 +534,10 @@ void QuickTimeMovieComponent::assignMovieToWindow() MacSetPort (savedPort); } + else + { + SetMovieGWorld (id->movie, 0, 0); + } reentrant = false; }