/* Don't do anything for child frames because that leads to weird
child frame placement in some cases involving Dock placement and
Dock Hiding. */
+#ifdef NS_IMPL_COCOA
struct frame *f = ((EmacsView *) [self delegate])->emacsframe;
if (FRAME_PARENT_FRAME (f))
return frameRect;
-#ifdef NS_IMPL_COCOA
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1090
// If separate spaces is on, it is like each screen is independent. There is
// no spanning of frames across screens.