In Humdinger-resize mode, don't fall back to drag action when the window is not resizable.
Just do nothing. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39709 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
946c6e2d9a
commit
dd1ebc6885
|
@ -904,10 +904,9 @@ DefaultWindowBehaviour::MouseDown(BMessage* message, BPoint where,
|
|||
} else if ((buttons & B_TERTIARY_MOUSE_BUTTON) != 0) {
|
||||
// Middle-click anywhere on the window shall initiate
|
||||
// humdinger-resize mode.
|
||||
if (windowModifier && hitRegion != Decorator::REGION_NONE) {
|
||||
action = (flags & B_NOT_RESIZABLE) == 0
|
||||
? ACTION_HUMDINGER_RESIZE : ACTION_DRAG;
|
||||
}
|
||||
if (windowModifier && hitRegion != Decorator::REGION_NONE
|
||||
&& (flags & B_NOT_RESIZABLE) == 0)
|
||||
action = ACTION_HUMDINGER_RESIZE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue