[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] 1b492fa545 3252fc5 2/2: Set frame size to actual requested
From: |
Alan Third |
Subject: |
[Emacs-diffs] 1b492fa545 3252fc5 2/2: Set frame size to actual requested size (bug#18215) |
Date: |
Sun, 3 Sep 2017 08:57:14 -0400 (EDT) |
branch: 1b492fa545
commit 3252fc5afe482d06700413ae5a3eb04ddd398632
Author: Alan Third <address@hidden>
Commit: Alan Third <address@hidden>
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 6b0e18b..4a97e36 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
{