]> git.eshelyaron.com Git - emacs.git/commitdiff
Set frame size to actual requested size (bug#18215)
authorAlan Third <alan@idiocy.org>
Sat, 2 Sep 2017 17:32:08 +0000 (18:32 +0100)
committerAlan Third <alan@idiocy.org>
Thu, 7 Sep 2017 19:49:47 +0000 (20:49 +0100)
* src/nsterm.m (x_set_window_size): Don't use
FRAME_TEXT_TO_PIXEL_WIDTH or FRAME_TEXT_TO_PIXEL_HEIGHT.

src/nsterm.m

index ff3329d1cee3a6bff0eaae5ecfeefcd390df95b4..be97e94dd5d81021c76dd3b0f395573691f75b34 100644 (file)
@@ -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
     {