]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Set frame size to actual requested size (bug#18215)"
authorAlan Third <alan@idiocy.org>
Thu, 21 Sep 2017 20:53:30 +0000 (21:53 +0100)
committerAlan Third <alan@idiocy.org>
Thu, 21 Sep 2017 21:08:48 +0000 (22:08 +0100)
This reverts commit d31cd79b40dbd5459b16505a4ee4340210499277.

See bug#28536. I misunderstood bug#18215. It wasn't a bug.

src/nsterm.m

index 776635980e1046fb080c1ad67e1384261e4d3393..a41d6be20454d8b19530da0078f25653cb21fa90 100644 (file)
@@ -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
     {