diff options
author | Jan D <jan.h.d@swipnet.se> | 2010-08-13 15:26:13 +0200 |
---|---|---|
committer | Jan D <jan.h.d@swipnet.se> | 2010-08-13 15:26:13 +0200 |
commit | 2b4e627726bc1dfcbf95f069fb97f932471efad8 (patch) | |
tree | 8dad1c6b6bafa7531bdac10e432742258ddae9f5 /src/xfns.c | |
parent | 9dec0f7642296c34dfd3700c6094808ce6ed289e (diff) | |
download | emacs-2b4e627726bc1dfcbf95f069fb97f932471efad8.tar.gz |
Fix handling of tool-bar-position, also put into default-frame-alist.
* lisp/menu-bar.el (menu-bar-set-tool-bar-position): New function.
(menu-bar-showhide-tool-bar-menu-customize-enable-left)
(menu-bar-showhide-tool-bar-menu-customize-enable-right)
(menu-bar-showhide-tool-bar-menu-customize-enable-top)
(menu-bar-showhide-tool-bar-menu-customize-enable-bottom): Call
menu-bar-set-tool-bar-position.
* src/frame.h (Qtool_bar_position): Declare.
* src/xfns.c (Fx_create_frame): Call x_default_parameter for
Qtool_bar_position.
Diffstat (limited to 'src/xfns.c')
-rw-r--r-- | src/xfns.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c index e2d571a847f..cb6733e8fa1 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -3392,6 +3392,8 @@ This function is an internal primitive--use `make-frame' instead. */) "waitForWM", "WaitForWM", RES_TYPE_BOOLEAN); x_default_parameter (f, parms, Qfullscreen, Qnil, "fullscreen", "Fullscreen", RES_TYPE_SYMBOL); + x_default_parameter (f, parms, Qtool_bar_position, + f->tool_bar_position, 0, 0, RES_TYPE_SYMBOL); /* Compute the size of the X window. */ window_prompting = x_figure_window_size (f, parms, 1); |