]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix usage of FRAME_Z_GROUP
authorPhilipp Stephani <phst@google.com>
Sat, 22 Apr 2017 11:54:08 +0000 (13:54 +0200)
committerPhilipp Stephani <phst@google.com>
Sat, 22 Apr 2017 11:54:08 +0000 (13:54 +0200)
* src/nsterm.m (initFrameFromEmacs:): FRAME_Z_GROUP does not return a
Lisp object, cf. Bug#26597.

src/nsterm.m

index 4e88297bc04cfa174d51e7c09efc516a91c48ca2..8c5eb06641bce4e9788f4d73b3cc2b1ea4ad942b 100644 (file)
@@ -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);