aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfns.c
diff options
context:
space:
mode:
authorJan D2010-08-13 15:26:13 +0200
committerJan D2010-08-13 15:26:13 +0200
commit2b4e627726bc1dfcbf95f069fb97f932471efad8 (patch)
tree8dad1c6b6bafa7531bdac10e432742258ddae9f5 /src/xfns.c
parent9dec0f7642296c34dfd3700c6094808ce6ed289e (diff)
downloademacs-2b4e627726bc1dfcbf95f069fb97f932471efad8.tar.gz
emacs-2b4e627726bc1dfcbf95f069fb97f932471efad8.zip
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.c2
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. */)
3392 "waitForWM", "WaitForWM", RES_TYPE_BOOLEAN); 3392 "waitForWM", "WaitForWM", RES_TYPE_BOOLEAN);
3393 x_default_parameter (f, parms, Qfullscreen, Qnil, 3393 x_default_parameter (f, parms, Qfullscreen, Qnil,
3394 "fullscreen", "Fullscreen", RES_TYPE_SYMBOL); 3394 "fullscreen", "Fullscreen", RES_TYPE_SYMBOL);
3395 x_default_parameter (f, parms, Qtool_bar_position,
3396 f->tool_bar_position, 0, 0, RES_TYPE_SYMBOL);
3395 3397
3396 /* Compute the size of the X window. */ 3398 /* Compute the size of the X window. */
3397 window_prompting = x_figure_window_size (f, parms, 1); 3399 window_prompting = x_figure_window_size (f, parms, 1);