diff --git a/src/servers/app/DefaultWindowBehaviour.cpp b/src/servers/app/DefaultWindowBehaviour.cpp index 478744bfd9..fc6e08801a 100644 --- a/src/servers/app/DefaultWindowBehaviour.cpp +++ b/src/servers/app/DefaultWindowBehaviour.cpp @@ -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; } }