From: Alan Third Date: Sat, 2 Sep 2017 17:32:08 +0000 (+0100) Subject: Set frame size to actual requested size (bug#18215) X-Git-Tag: emacs-26.0.90~238 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d31cd79b40dbd5459b16505a4ee4340210499277;p=emacs.git Set frame size to actual requested size (bug#18215) * src/nsterm.m (x_set_window_size): Don't use FRAME_TEXT_TO_PIXEL_WIDTH or FRAME_TEXT_TO_PIXEL_HEIGHT. --- diff --git a/src/nsterm.m b/src/nsterm.m index ff3329d1cee..be97e94dd5d 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -1820,8 +1820,8 @@ x_set_window_size (struct frame *f, if (pixelwise) { - pixelwidth = FRAME_TEXT_TO_PIXEL_WIDTH (f, width); - pixelheight = FRAME_TEXT_TO_PIXEL_HEIGHT (f, height); + pixelwidth = width; + pixelheight = height; } else {