/* The emacs frame widget.
- Copyright (C) 1992-1993, 2000-2014 Free Software Foundation, Inc.
+ Copyright (C) 1992-1993, 2000-2015 Free Software Foundation, Inc.
This file is part of GNU Emacs.
if (true || frame_resize_pixelwise)
{
int width, height;
-/** int width = (ew->core.width **/
-/** - FRAME_SCROLL_BAR_AREA_WIDTH (f) **/
-/** - FRAME_TOTAL_FRINGE_WIDTH (f) **/
-/** - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); **/
-
-/** int height = (ew->core.height **/
-/** - FRAME_TOOLBAR_HEIGHT (f) **/
-/** - FRAME_SCROLL_BAR_AREA_HEIGHT (f) **/
-/** - 2 * FRAME_INTERNAL_BORDER_WIDTH (f)); **/
pixel_to_text_size (ew, ew->core.width, ew->core.height, &width, &height);
change_frame_size (f, width, height, 0, 1, 0, 1);
EmacsFrame ew = (EmacsFrame) widget;
struct frame *f = ew->emacs_frame.frame;
- if (!frame_inhibit_resize (f, 0) && !frame_inhibit_resize (f, 1))
+ if (!frame_inhibit_resize (f, 0, Qfont)
+ && !frame_inhibit_resize (f, 1, Qfont))
x_set_window_size (f, 0, columns, rows, 0);
}