diff options
author | Kevin Walzer <kw@codebykevin.com> | 2014-07-28 02:43:41 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2014-07-28 02:43:41 (GMT) |
commit | b2263f97e0a12c9653911aa89f63766e54e9cfdb (patch) | |
tree | 445624d698481ea29f4ecd73cc8bd7cb4ab70fd3 /macosx/tkMacOSXSubwindows.c | |
parent | e1fbe52f5a1a69abcc525f23d6dbb058db3e4d0f (diff) | |
download | tk-b2263f97e0a12c9653911aa89f63766e54e9cfdb.zip tk-b2263f97e0a12c9653911aa89f63766e54e9cfdb.tar.gz tk-b2263f97e0a12c9653911aa89f63766e54e9cfdb.tar.bz2 |
Fine-tune scrolling, especially of text widgets with embedded windows, after removal of private API calls; performance is now better and within acceptable ranges.
Diffstat (limited to 'macosx/tkMacOSXSubwindows.c')
-rw-r--r-- | macosx/tkMacOSXSubwindows.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c index 3dfd308..9ba7100 100644 --- a/macosx/tkMacOSXSubwindows.c +++ b/macosx/tkMacOSXSubwindows.c @@ -742,14 +742,6 @@ TkMacOSXUpdateClipRgn( kWindowResizableAttribute) { NSWindow *w = TkMacOSXDrawableWindow(winPtr->window); - if (w) { - // This call to private API not needed on systems >= 10.7 - // bounds = NSRectToCGRect([w _growBoxRect]); - // bounds.origin.y = [w contentRectForFrameRect: - // [w frame]].size.height - bounds.size.height - - // bounds.origin.y; - // ChkErr(TkMacOSHIShapeDifferenceWithRect, rgn, &bounds); - } } macWin->aboveVisRgn = HIShapeCreateCopy(rgn); |