[quartz] Pad both the content rect and the window width.

Otherwise the rastering gets messed up and popup windows get badly
truncated lengthwise on non-Retina monitors when there are both
Retina and non-Retina monitors.
This commit is contained in:
John Ralls 2023-05-09 15:39:10 -07:00
parent acb183ef7c
commit 32e5c18213

View File

@ -245,7 +245,10 @@
window->height = content_rect.size.height;
if(window->width % align)
content_rect.size.width += align - window->width % align;
{
window->width += align - window->width % align;
content_rect.size.width = window->width;
}
content_rect.origin.x = 0;
content_rect.origin.y = 0;