From 795e2f55b4ac494fa9337e30e7c942cadf47bf51 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 9 Jun 2008 17:28:28 +0000 Subject: [PATCH] Removed work-around for now fixed bug #2355. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25882 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/terminal/TermView.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/apps/terminal/TermView.cpp b/src/apps/terminal/TermView.cpp index 48d1a7898b..50725dcbb9 100644 --- a/src/apps/terminal/TermView.cpp +++ b/src/apps/terminal/TermView.cpp @@ -978,18 +978,6 @@ TermView::Draw(BRect updateRect) // } // } - // TODO: Work-around for #2355: updateRect is sometimes way larger than the - // clipping region frame). Determine the minimal update rect. - BRegion region; - GetClippingRegion(®ion); - if (region.CountRects() > 0) { - BRect clippingRect(region.Frame()); -//if (clippingRect != updateRect) -//debug_printf(" clipping rect: (%f, %f) - (%f, %f)\n", -//clippingRect.left, clippingRect.top, clippingRect.right, clippingRect.bottom); - updateRect = clippingRect; - } - _SynchronizeWithTextBuffer(&updateRect); int32 x1 = (int32)(updateRect.left) / fFontWidth;