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
This commit is contained in:
parent
903936bcec
commit
ada7365dae
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user