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;
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;