Include resize area for S&T operations.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39005 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler
2010-10-18 16:08:46 +00:00
parent 07a8c14656
commit 934c820ce8
@@ -132,8 +132,9 @@ StackAndTile::MouseDown(Window* window, BMessage* message, const BPoint& where)
int32 modifiers = message->FindInt32("modifiers"); int32 modifiers = message->FindInt32("modifiers");
int32 buttons = message->FindInt32("buttons"); int32 buttons = message->FindInt32("buttons");
if (satWindow->GetDecorator()->MouseAction(message, where, buttons, click_type clickArea = satWindow->GetDecorator()->MouseAction(message,
modifiers) != CLICK_DRAG) where, buttons, modifiers);
if (clickArea != CLICK_DRAG && clickArea < CLICK_RESIZE)
return; return;
ASSERT(fCurrentSATWindow == NULL); ASSERT(fCurrentSATWindow == NULL);