aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Möllmann2025-05-28 12:56:42 +0200
committerGerd Möllmann2025-05-28 12:59:50 +0200
commit6279a9e8ef701c2eef8c198b7b26f235bb41f2b0 (patch)
treebbd1a3f5a98ae4abb8c980ca6f29188c17c4b9e0 /src
parentb6d5f50bc2782829e896bfe1f9826afa6d904b48 (diff)
downloademacs-6279a9e8ef701c2eef8c198b7b26f235bb41f2b0.tar.gz
emacs-6279a9e8ef701c2eef8c198b7b26f235bb41f2b0.zip
Do child frame shortcut only on Cocoa (bug#78616)
* src/nsterm.m ([EmacsWindow constrainFrameRect:toScreen:]): Return early for child frames only on Cocoa.
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index f822481e2e2..4884a060c3a 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -9801,11 +9801,11 @@ nswindow_orderedIndex_sort (id w1, id w2, void *c)
9801 /* Don't do anything for child frames because that leads to weird 9801 /* Don't do anything for child frames because that leads to weird
9802 child frame placement in some cases involving Dock placement and 9802 child frame placement in some cases involving Dock placement and
9803 Dock Hiding. */ 9803 Dock Hiding. */
9804#ifdef NS_IMPL_COCOA
9804 struct frame *f = ((EmacsView *) [self delegate])->emacsframe; 9805 struct frame *f = ((EmacsView *) [self delegate])->emacsframe;
9805 if (FRAME_PARENT_FRAME (f)) 9806 if (FRAME_PARENT_FRAME (f))
9806 return frameRect; 9807 return frameRect;
9807 9808
9808#ifdef NS_IMPL_COCOA
9809#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1090 9809#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1090
9810 // If separate spaces is on, it is like each screen is independent. There is 9810 // If separate spaces is on, it is like each screen is independent. There is
9811 // no spanning of frames across screens. 9811 // no spanning of frames across screens.