diff --git a/src/widget.c b/src/widget.c index e8eaf0fadf..f92baa2cef 100644 --- a/src/widget.c +++ b/src/widget.c @@ -268,12 +268,8 @@ set_frame_size (EmacsFrame ew) if (! XtIsSubclass (wmshell, shellWidgetClass)) emacs_abort (); char_to_pixel_size (ew, w, h, &pixel_width, &pixel_height); - ew->core.width = (frame_resize_pixelwise - ? FRAME_PIXEL_WIDTH (f) - : pixel_width); - ew->core.height = (frame_resize_pixelwise - ? FRAME_PIXEL_HEIGHT (f) - : pixel_height); + ew->core.width = (pixel_width); + ew->core.height = (pixel_height); frame_size_history_add (f, Qset_frame_size, FRAME_TEXT_WIDTH (f), FRAME_TEXT_HEIGHT (f), @@ -315,8 +311,8 @@ update_wm_hints (EmacsFrame ew) XtVaSetValues (wmshell, XtNbaseWidth, (XtArgVal) base_width, XtNbaseHeight, (XtArgVal) base_height, - XtNwidthInc, (XtArgVal) (frame_resize_pixelwise ? 1 : cw), - XtNheightInc, (XtArgVal) (frame_resize_pixelwise ? 1 : ch), + XtNwidthInc, (XtArgVal) (cw), + XtNheightInc, (XtArgVal) (ch), XtNminWidth, (XtArgVal) base_width, XtNminHeight, (XtArgVal) base_height, NULL);