Mercurial > emacs
changeset 14825:1c8e58bf36fe
(update_from_various_frame_slots)
(update_various_frame_slots): Take account of menubar_height.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 17 Mar 1996 18:09:05 +0000 |
parents | f56bb68b6903 |
children | eec0abb31126 |
files | src/widget.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/widget.c Sun Mar 17 18:07:42 1996 +0000 +++ b/src/widget.c Sun Mar 17 18:09:05 1996 +0000 @@ -642,7 +642,7 @@ EmacsFrame ew; { struct x_output *x = ew->emacs_frame.frame->output_data.x; - x->pixel_height = ew->core.height; + x->pixel_height = ew->core.height + x->menubar_height; x->pixel_width = ew->core.width; x->internal_border_width = ew->emacs_frame.internal_border_width; @@ -653,7 +653,7 @@ EmacsFrame ew; { struct x_output *x = ew->emacs_frame.frame->output_data.x; - ew->core.height = x->pixel_height; + ew->core.height = x->pixel_height - x->menubar_height; ew->core.width = x->pixel_width; ew->core.background_pixel = x->background_pixel; ew->emacs_frame.internal_border_width = x->internal_border_width;