From ada7365daeb05a7027f791977bb030b921c330ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 4 Apr 2006 02:19:49 +0000 Subject: [PATCH] Dunno why this was commented out - fixed bug #322. That was probably what Joshua Austin meant on the mailing list, slightly misleading, though :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16998 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/WindowLayer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/servers/app/WindowLayer.cpp b/src/servers/app/WindowLayer.cpp index a31a24ad09..f8014b2477 100644 --- a/src/servers/app/WindowLayer.cpp +++ b/src/servers/app/WindowLayer.cpp @@ -806,7 +806,7 @@ WindowLayer::MouseDown(BMessage* message, BPoint where, int32* _viewToken) if (fIsZooming) { fDecorator->SetZoom(true); } else if (fIsClosing) { - //fDecorator->SetClose(true); + fDecorator->SetClose(true); } else if (fIsMinimizing) { fDecorator->SetMinimize(true); } @@ -861,7 +861,7 @@ WindowLayer::MouseUp(BMessage* message, BPoint where, int32* _viewToken) fDrawingEngine->ConstrainClippingRegion(&visibleBorder); if (fIsZooming) { - fIsZooming = false; + fIsZooming = false; fDecorator->SetZoom(false); if (action == DEC_ZOOM) { invalidate = true; @@ -869,7 +869,7 @@ WindowLayer::MouseUp(BMessage* message, BPoint where, int32* _viewToken) } } if (fIsClosing) { - fIsClosing = false; + fIsClosing = false; fDecorator->SetClose(false); if (action == DEC_CLOSE) { invalidate = true;