summaryrefslogtreecommitdiff
path: root/src/nsfns.m
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2021-11-27 08:34:51 +0800
committerPo Lu <luangruo@yahoo.com>2021-11-27 08:34:51 +0800
commitf1116f45bcabc5628e7443a2c792971c7c23b8b1 (patch)
treef19961f99c28f598f103419678903cb44608e338 /src/nsfns.m
parent9721dcf2754ebad28ac60a9d3152fd26e4c652c4 (diff)
downloademacs-f1116f45bcabc5628e7443a2c792971c7c23b8b1.tar.gz
Set initial tab bar parameter on NS
* src/nsfns.m (Fx_create_frame): Initialize `tab-bar-lines' frame parameter during frame creation.
Diffstat (limited to 'src/nsfns.m')
-rw-r--r--src/nsfns.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nsfns.m b/src/nsfns.m
index f4d81722460..c2791aa15a9 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -1365,6 +1365,10 @@ DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame,
NILP (Vmenu_bar_mode)
? make_fixnum (0) : make_fixnum (1),
NULL, NULL, RES_TYPE_NUMBER);
+ gui_default_parameter (f, parms, Qtab_bar_lines,
+ NILP (Vtab_bar_mode)
+ ? make_fixnum (0) : make_fixnum (1),
+ NULL, NULL, RES_TYPE_NUMBER);
gui_default_parameter (f, parms, Qtool_bar_lines,
NILP (Vtool_bar_mode)
? make_fixnum (0) : make_fixnum (1),