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) {
|
if (fIsZooming) {
|
||||||
fDecorator->SetZoom(true);
|
fDecorator->SetZoom(true);
|
||||||
} else if (fIsClosing) {
|
} else if (fIsClosing) {
|
||||||
//fDecorator->SetClose(true);
|
fDecorator->SetClose(true);
|
||||||
} else if (fIsMinimizing) {
|
} else if (fIsMinimizing) {
|
||||||
fDecorator->SetMinimize(true);
|
fDecorator->SetMinimize(true);
|
||||||
}
|
}
|
||||||
@ -861,7 +861,7 @@ WindowLayer::MouseUp(BMessage* message, BPoint where, int32* _viewToken)
|
|||||||
fDrawingEngine->ConstrainClippingRegion(&visibleBorder);
|
fDrawingEngine->ConstrainClippingRegion(&visibleBorder);
|
||||||
|
|
||||||
if (fIsZooming) {
|
if (fIsZooming) {
|
||||||
fIsZooming = false;
|
fIsZooming = false;
|
||||||
fDecorator->SetZoom(false);
|
fDecorator->SetZoom(false);
|
||||||
if (action == DEC_ZOOM) {
|
if (action == DEC_ZOOM) {
|
||||||
invalidate = true;
|
invalidate = true;
|
||||||
@ -869,7 +869,7 @@ WindowLayer::MouseUp(BMessage* message, BPoint where, int32* _viewToken)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (fIsClosing) {
|
if (fIsClosing) {
|
||||||
fIsClosing = false;
|
fIsClosing = false;
|
||||||
fDecorator->SetClose(false);
|
fDecorator->SetClose(false);
|
||||||
if (action == DEC_CLOSE) {
|
if (action == DEC_CLOSE) {
|
||||||
invalidate = true;
|
invalidate = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user