diff options
Diffstat (limited to 'src/mac_cairo.m')
-rw-r--r-- | src/mac_cairo.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mac_cairo.m b/src/mac_cairo.m index 66af5ba..8e28985 100644 --- a/src/mac_cairo.m +++ b/src/mac_cairo.m @@ -90,8 +90,8 @@ puglMacCairoEnter(PuglView* view, const PuglExposeEvent* expose) CGContextRef context = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort]; - const CGSize sizePx = {(CGFloat)view->frame.width, - (CGFloat)view->frame.height}; + const CGSize sizePx = {(CGFloat)view->lastConfigure.width, + (CGFloat)view->lastConfigure.height}; const CGSize sizePt = CGContextConvertSizeToUserSpace(context, sizePx); |