diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-03-17 18:09:05 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-03-17 18:09:05 +0000 |
commit | 8a73d6bd324b60893005783c0dd61b1b39833e00 (patch) | |
tree | 3a632a04676f7f85b31514d70d1828b2e9ff2392 | |
parent | 61ec62567a1d05db8a7fe15b5a124c59b479e28a (diff) | |
download | emacs-8a73d6bd324b60893005783c0dd61b1b39833e00.tar.gz |
(update_from_various_frame_slots)
(update_various_frame_slots): Take account of menubar_height.
-rw-r--r-- | src/widget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget.c b/src/widget.c index c2c6beaec6b..650dd583de7 100644 --- a/src/widget.c +++ b/src/widget.c @@ -642,7 +642,7 @@ update_various_frame_slots (ew) 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 @@ update_from_various_frame_slots (ew) 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; |