aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Third2017-09-02 18:32:08 +0100
committerAlan Third2017-09-07 20:49:47 +0100
commitd31cd79b40dbd5459b16505a4ee4340210499277 (patch)
tree1299b747d38b49174d39dcf99abfef5965aec204 /src
parent93bab0fe55df0f94144f5a12132639e831961848 (diff)
downloademacs-d31cd79b40dbd5459b16505a4ee4340210499277.tar.gz
emacs-d31cd79b40dbd5459b16505a4ee4340210499277.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m4
1 files 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,
1820 1820
1821 if (pixelwise) 1821 if (pixelwise)
1822 { 1822 {
1823 pixelwidth = FRAME_TEXT_TO_PIXEL_WIDTH (f, width); 1823 pixelwidth = width;
1824 pixelheight = FRAME_TEXT_TO_PIXEL_HEIGHT (f, height); 1824 pixelheight = height;
1825 } 1825 }
1826 else 1826 else
1827 { 1827 {