Fix crash #6615 and #6566.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38728 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler 2010-09-19 20:54:06 +00:00
parent cc4f4ca5f8
commit a4dab27fab

View File

@ -126,7 +126,7 @@ void
StackAndTile::MouseDown(Window* window, BMessage* message, const BPoint& where)
{
SATWindow* satWindow = GetSATWindow(window);
if (!satWindow)
if (!satWindow || !satWindow->GetDecorator())
return;
int32 modifiers = message->FindInt32("modifiers");