Author: czeidler Date: 2010-06-08 07:41:50 +0200 (Tue, 08 Jun 2010) New Revision: 37057 Changeset: http://dev.haiku-os.org/changeset/37057/haiku Modified: haiku/branches/features/stack-and-tile/src/servers/app/DefaultWindowBehaviour.cpp Log: Adjust code in #if 0 block. Modified: haiku/branches/features/stack-and-tile/src/servers/app/DefaultWindowBehaviour.cpp =================================================================== --- haiku/branches/features/stack-and-tile/src/servers/app/DefaultWindowBehaviour.cpp 2010-06-08 05:40:25 UTC (rev 37056) +++ haiku/branches/features/stack-and-tile/src/servers/app/DefaultWindowBehaviour.cpp 2010-06-08 05:41:50 UTC (rev 37057) @@ -262,12 +262,12 @@ DefaultWindowBehaviour::MouseMoved(BMessage *message, BPoint where, bool isFake) { #if 0 - if (fDecorator != NULL && fTopView != NULL) { + if (fDecorator != NULL && fWindow->TopView() != NULL) { DrawingEngine* engine = fDecorator->GetDrawingEngine(); engine->LockParallelAccess(); - engine->ConstrainClippingRegion(&VisibleRegion()); + engine->ConstrainClippingRegion(&fWindow->VisibleRegion()); - fTopView->MarkAt(engine, where); + fWindow->TopView()->MarkAt(engine, where); engine->UnlockParallelAccess(); } #endif