The new app-server double click detection has broke minimization in S&T. React only on single clicks now, fix #6759.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39182 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -130,6 +130,9 @@ StackAndTile::MouseDown(Window* window, BMessage* message, const BPoint& where)
|
|||||||
if (!satWindow || !satWindow->GetDecorator())
|
if (!satWindow || !satWindow->GetDecorator())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// we are only interested in single clicks
|
||||||
|
if (message->FindInt32("clicks") == 2)
|
||||||
|
return;
|
||||||
int32 modifiers = message->FindInt32("modifiers");
|
int32 modifiers = message->FindInt32("modifiers");
|
||||||
int32 buttons = message->FindInt32("buttons");
|
int32 buttons = message->FindInt32("buttons");
|
||||||
click_type clickArea = satWindow->GetDecorator()->MouseAction(message,
|
click_type clickArea = satWindow->GetDecorator()->MouseAction(message,
|
||||||
|
|||||||
Reference in New Issue
Block a user