[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:
parent
acb183ef7c
commit
32e5c18213
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user