From 0036cd5d1b0a62fc0e9cb3711396a7bdcda30e88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sat, 26 Nov 2005 18:02:13 +0000 Subject: [PATCH] I don't want to promise anything but that fix could have been the last remaining bug. Next up is scrolling then showing, hiding, adding and removing layers during runtime... Maybe the simulation can be extended by drawing animations triggered from the client too. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15171 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/servers/app/newerClipping/ViewLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/servers/app/newerClipping/ViewLayer.cpp b/src/tests/servers/app/newerClipping/ViewLayer.cpp index c37939d3d2..3d7bbce7f1 100644 --- a/src/tests/servers/app/newerClipping/ViewLayer.cpp +++ b/src/tests/servers/app/newerClipping/ViewLayer.cpp @@ -460,7 +460,7 @@ ViewLayer::ResizeBy(int32 x, int32 y, BRegion* dirtyRegion) // exclude children, they are expected to // have included their own dirty regions for (ViewLayer* child = FirstChild(); child; child = NextChild()) { - BRect previousChildVisible(child->Frame() & oldBounds); + BRect previousChildVisible(child->Frame() & oldBounds & Bounds()); if (dirty.Frame().Intersects(previousChildVisible)) { dirty.Exclude(previousChildVisible); }