diff options
author | Kevin Walzer <kw@codebykevin.com> | 2015-02-22 18:03:41 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2015-02-22 18:03:41 (GMT) |
commit | b4c8b7030528c756f79673b9511327918950afb7 (patch) | |
tree | cb1e5bc22c5d833e81b191b5d4f6bf4334dcd6a5 | |
parent | 3a13bc5fac2d59e87c18e58d621b9f0631141f04 (diff) | |
download | tk-b4c8b7030528c756f79673b9511327918950afb7.zip tk-b4c8b7030528c756f79673b9511327918950afb7.tar.gz tk-b4c8b7030528c756f79673b9511327918950afb7.tar.bz2 |
Fix for CGRect/NSRect confusion
-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 4e51dbf..3233b37 100644 --- a/macosx/tkMacOSXWindowEvent.c +++ b/macosx/tkMacOSXWindowEvent.c @@ -853,7 +853,7 @@ ExposeRestrictProc( - (void)viewDidEndLiveResize { - NSRect bounds = NSRectFromCGRect([self bounds]); + HIRect bounds = NSRectToCGRect([self bounds]); HIShapeRef shape = HIShapeCreateWithRect(&bounds); [self generateExposeEvents: shape]; |