From 934c820ce8019340e52849338ffda52b579d21aa Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Mon, 18 Oct 2010 16:08:46 +0000 Subject: [PATCH] Include resize area for S&T operations. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39005 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/decorators/SATDecorator/StackAndTile.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/add-ons/decorators/SATDecorator/StackAndTile.cpp b/src/add-ons/decorators/SATDecorator/StackAndTile.cpp index a47f788d9b..9734f81991 100644 --- a/src/add-ons/decorators/SATDecorator/StackAndTile.cpp +++ b/src/add-ons/decorators/SATDecorator/StackAndTile.cpp @@ -132,8 +132,9 @@ StackAndTile::MouseDown(Window* window, BMessage* message, const BPoint& where) int32 modifiers = message->FindInt32("modifiers"); int32 buttons = message->FindInt32("buttons"); - if (satWindow->GetDecorator()->MouseAction(message, where, buttons, - modifiers) != CLICK_DRAG) + click_type clickArea = satWindow->GetDecorator()->MouseAction(message, + where, buttons, modifiers); + if (clickArea != CLICK_DRAG && clickArea < CLICK_RESIZE) return; ASSERT(fCurrentSATWindow == NULL);