From 719b56b055646060101592adc99558cf2f91cba8 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Tue, 30 Jul 2013 18:19:26 -0400 Subject: [PATCH] DefaultDecorator: updateRect not update --- src/servers/app/decorator/DefaultDecorator.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/servers/app/decorator/DefaultDecorator.cpp b/src/servers/app/decorator/DefaultDecorator.cpp index 974fa5c688..92de71e7c3 100644 --- a/src/servers/app/decorator/DefaultDecorator.cpp +++ b/src/servers/app/decorator/DefaultDecorator.cpp @@ -166,17 +166,17 @@ DefaultDecorator::GetSettings(BMessage* settings) const void -DefaultDecorator::Draw(BRect update) +DefaultDecorator::Draw(BRect updateRect) { STRACE(("DefaultDecorator: Draw(%.1f,%.1f,%.1f,%.1f)\n", - update.left, update.top, update.right, update.bottom)); + updateRect.left, updateRect.top, updateRect.right, updateRect.bottom)); // We need to draw a few things: the tab, the resize knob, the borders, // and the buttons fDrawingEngine->SetDrawState(&fDrawState); - _DrawFrame(update); - _DrawTabs(update); + _DrawFrame(updateRect); + _DrawTabs(updateRect); }