From d31cd79b40dbd5459b16505a4ee4340210499277 Mon Sep 17 00:00:00 2001 From: Alan Third Date: Sat, 2 Sep 2017 18:32:08 +0100 Subject: [PATCH] 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. --- src/nsterm.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.5