1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

Fix usage of FRAME_Z_GROUP

* src/nsterm.m (initFrameFromEmacs:): FRAME_Z_GROUP does not return a
Lisp object, cf. Bug#26597.
This commit is contained in:
Philipp Stephani 2017-04-22 13:54:08 +02:00
parent 401e41df0c
commit eb52828a43

View File

@ -6966,7 +6966,7 @@ This avoids an extra clear and redraw (flicker) at frame creation. */
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);