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 | 0530b1d9750ba0dbda0574ad8c64f5defc0d8c5f (patch) | |
tree | e3dd3c28103e5d00a44110026b92784d6df5832a | |
parent | 15adba7a5862a2893c200dab271db00f8bd5578d (diff) | |
download | tk-0530b1d9750ba0dbda0574ad8c64f5defc0d8c5f.zip tk-0530b1d9750ba0dbda0574ad8c64f5defc0d8c5f.tar.gz tk-0530b1d9750ba0dbda0574ad8c64f5defc0d8c5f.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]; |