diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-02-22 18:03:22 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-02-22 18:03:22 (GMT) |
commit | d1e97b3f659b03bad25cadb33011ff325b3b43a9 (patch) | |
tree | 2475ca7f12d9c8247bc911d78ef95bb06297d666 /macosx | |
parent | fdcfa0f0bcbffc5d51687d791e1377ade0577138 (diff) | |
download | tk-d1e97b3f659b03bad25cadb33011ff325b3b43a9.zip tk-d1e97b3f659b03bad25cadb33011ff325b3b43a9.tar.gz tk-d1e97b3f659b03bad25cadb33011ff325b3b43a9.tar.bz2 |
Fix for CGRect/NSRect confusion
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXWindowEvent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXWindowEvent.c b/macosx/tkMacOSXWindowEvent.c index 5d89105..5f782c5 100644 --- a/macosx/tkMacOSXWindowEvent.c +++ b/macosx/tkMacOSXWindowEvent.c @@ -849,7 +849,7 @@ ExposeRestrictProc( - (void)viewDidEndLiveResize { - NSRect bounds = NSRectFromCGRect([self bounds]); + HIRect bounds = NSRectToCGRect([self bounds]); HIShapeRef shape = HIShapeCreateWithRect(&bounds); [self generateExposeEvents: shape]; |