From: Philipp Stephani Date: Sat, 22 Apr 2017 11:54:08 +0000 (+0200) Subject: Fix usage of FRAME_Z_GROUP X-Git-Tag: emacs-26.0.90~521^2~578 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eb52828a439f674733ba70844b795c6673733572;p=emacs.git Fix usage of FRAME_Z_GROUP * src/nsterm.m (initFrameFromEmacs:): FRAME_Z_GROUP does not return a Lisp object, cf. Bug#26597. --- diff --git a/src/nsterm.m b/src/nsterm.m index 4e88297bc04..8c5eb06641b 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -6966,7 +6966,7 @@ not_in_argv (NSString *arg) ordered: NSWindowAbove]; } - if (!NILP (FRAME_Z_GROUP (f))) + if (FRAME_Z_GROUP (f) != z_group_none) win.level = NSNormalWindowLevel + (FRAME_Z_GROUP_BELOW (f) ? -1 : 1);