emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 a81d5a3: Revert "Set frame size to actual request


From: Alan Third
Subject: [Emacs-diffs] emacs-26 a81d5a3: Revert "Set frame size to actual requested size (bug#18215)"
Date: Thu, 21 Sep 2017 17:09:38 -0400 (EDT)

branch: emacs-26
commit a81d5a3d3fcb76f6b074c2c721b80b1802135d41
Author: Alan Third <address@hidden>
Commit: Alan Third <address@hidden>

    Revert "Set frame size to actual requested size (bug#18215)"
    
    This reverts commit d31cd79b40dbd5459b16505a4ee4340210499277.
    
    See bug#28536. I misunderstood bug#18215. It wasn't a bug.
---
 src/nsterm.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nsterm.m b/src/nsterm.m
index 7766359..a41d6be 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -1820,8 +1820,8 @@ x_set_window_size (struct frame *f,
 
   if (pixelwise)
     {
-      pixelwidth = width;
-      pixelheight = height;
+      pixelwidth = FRAME_TEXT_TO_PIXEL_WIDTH (f, width);
+      pixelheight = FRAME_TEXT_TO_PIXEL_HEIGHT (f, height);
     }
   else
     {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]