diff options
author | Kevin Walzer <kw@codebykevin.com> | 2014-07-28 02:44:57 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2014-07-28 02:44:57 (GMT) |
commit | c5695e766b9c40219e9280af36c65998d30e6eb7 (patch) | |
tree | 641ce1d6fc66d418ec040244ff78297e680f97c8 /macosx/tkMacOSXSubwindows.c | |
parent | 42ed9ac756fe0fedb878602d401c858c0117ea22 (diff) | |
download | tk-c5695e766b9c40219e9280af36c65998d30e6eb7.zip tk-c5695e766b9c40219e9280af36c65998d30e6eb7.tar.gz tk-c5695e766b9c40219e9280af36c65998d30e6eb7.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 | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c index ac055e3..a08c56e 100644 --- a/macosx/tkMacOSXSubwindows.c +++ b/macosx/tkMacOSXSubwindows.c @@ -741,15 +741,6 @@ TkMacOSXUpdateClipRgn( } else if (winPtr->wmInfoPtr->attributes & 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); |