aboutsummaryrefslogtreecommitdiffstats
path: root/src/nsfns.m
diff options
context:
space:
mode:
authorGlenn Morris2018-05-15 09:09:48 -0700
committerGlenn Morris2018-05-15 09:09:48 -0700
commit3ee1841f288b5b9cf9301945d10db2b45688bcf8 (patch)
treea1168744379c82fa3c0a92e14373fcc3897fb435 /src/nsfns.m
parentb3956d85c71c30af732a8bc035ed39421bafe11d (diff)
parentb98cf9cdabd710f89eb57645a163fd52db338404 (diff)
downloademacs-3ee1841f288b5b9cf9301945d10db2b45688bcf8.tar.gz
emacs-3ee1841f288b5b9cf9301945d10db2b45688bcf8.zip
Merge from origin/emacs-26
b98cf9c ; Fix a typo in the Emacs manual 700fcd7 * doc/emacs/help.texi: Fix paren typo. c9c0e40 More minor changes in shell-related nodes of Emacs manual e6bf19c Fix inaccuracies in "Shell Ring" node of Emacs manual 087681b8 Improve documentation of kmacro commands and variables. be2e8cb * doc/man/emacs.1.in: Document --fg-daemon and --bg-daemon. 1d9e66a Don't check non-X frames for z order (Bug#31373) 7dc028e Check NSWindow is actually a frame Conflicts: src/nsfns.m
Diffstat (limited to 'src/nsfns.m')
-rw-r--r--src/nsfns.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nsfns.m b/src/nsfns.m
index 7cf45a54f90..9ff7e88a8d4 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -1451,9 +1451,9 @@ Frames are listed from topmost (first) to bottommost (last). */)
1451 { 1451 {
1452 Lisp_Object frame; 1452 Lisp_Object frame;
1453 1453
1454 /* Check against [win parentWindow] so that it doesn't match 1454 /* Check against [win parentWindow] so that it doesn't match itself. */
1455 itself. */ 1455 if ([[win delegate] isKindOfClass:[EmacsView class]]
1456 if (parent == nil || ns_window_is_ancestor (parent, [win parentWindow])) 1456 && (parent == nil || ns_window_is_ancestor (parent, [win parentWindow])))
1457 { 1457 {
1458 XSETFRAME (frame, ((EmacsView *)[win delegate])->emacsframe); 1458 XSETFRAME (frame, ((EmacsView *)[win delegate])->emacsframe);
1459 frames = Fcons(frame, frames); 1459 frames = Fcons(frame, frames);