Author: phoudoin Date: 2010-12-02 23:01:41 +0100 (Thu, 02 Dec 2010) New Revision: 39709 Changeset: http://dev.haiku-os.org/changeset/39709 Modified: haiku/trunk/src/servers/app/DefaultWindowBehaviour.cpp Log: In Humdinger-resize mode, don't fall back to drag action when the window is not resizable. Just do nothing. Modified: haiku/trunk/src/servers/app/DefaultWindowBehaviour.cpp =================================================================== --- haiku/trunk/src/servers/app/DefaultWindowBehaviour.cpp 2010-12-02 21:05:46 UTC (rev 39708) +++ haiku/trunk/src/servers/app/DefaultWindowBehaviour.cpp 2010-12-02 22:01:41 UTC (rev 39709) @@ -904,10 +904,9 @@ } 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; } }