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.
This commit is contained in:
parent
93bab0fe55
commit
d31cd79b40
1 changed files with 2 additions and 2 deletions
|
@ -1820,8 +1820,8 @@ -(void)remove
|
|||
|
||||
if (pixelwise)
|
||||
{
|
||||
pixelwidth = FRAME_TEXT_TO_PIXEL_WIDTH (f, width);
|
||||
pixelheight = FRAME_TEXT_TO_PIXEL_HEIGHT (f, height);
|
||||
pixelwidth = width;
|
||||
pixelheight = height;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue