aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index f6fd43a1889..46bb3f5dd7a 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -9790,6 +9790,13 @@ nswindow_orderedIndex_sort (id w1, id w2, void *c)
9790 NSTRACE ("[EmacsWindow constrainFrameRect:" NSTRACE_FMT_RECT " toScreen:]", 9790 NSTRACE ("[EmacsWindow constrainFrameRect:" NSTRACE_FMT_RECT " toScreen:]",
9791 NSTRACE_ARG_RECT (frameRect)); 9791 NSTRACE_ARG_RECT (frameRect));
9792 9792
9793 /* Don't do anything for child frames because that leads to weird
9794 child frame placement in some cases involving Dock placement and
9795 Dock Hiding. */
9796 struct frame *f = ((EmacsView *) [self delegate])->emacsframe;
9797 if (FRAME_PARENT_FRAME (f))
9798 return frameRect;
9799
9793#ifdef NS_IMPL_COCOA 9800#ifdef NS_IMPL_COCOA
9794#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1090 9801#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1090
9795 // If separate spaces is on, it is like each screen is independent. There is 9802 // If separate spaces is on, it is like each screen is independent. There is