Author: czeidler Date: 2011-08-01 12:50:37 +0200 (Mon, 01 Aug 2011) New Revision: 42532 Changeset: https://dev.haiku-os.org/changeset/42532 Modified: haiku/trunk/src/servers/app/StackAndTile/StackAndTile.cpp Log: Disable group keyboard navigation for now. Don't start a S&T operation if the right button is down. Modified: haiku/trunk/src/servers/app/StackAndTile/StackAndTile.cpp =================================================================== --- haiku/trunk/src/servers/app/StackAndTile/StackAndTile.cpp 2011-08-01 07:03:00 UTC (rev 42531) +++ haiku/trunk/src/servers/app/StackAndTile/StackAndTile.cpp 2011-08-01 10:50:37 UTC (rev 42532) @@ -129,7 +129,8 @@ if (!wasPressed && fSATKeyPressed) _StartSAT(); } - +// switch off group navigation because it clashes with tracker... +return false; if (!SATKeyPressed() || (modifiers & B_COMMAND_KEY) == 0 || what != B_KEY_DOWN) return false; @@ -218,6 +219,12 @@ if (!satWindow || !satWindow->GetDecorator()) return; + // fCurrentSATWindow is not zero if e.g. the secondary and the primary + // mouse button are pressed at the same time + if ((message->FindInt32("buttons") & B_PRIMARY_MOUSE_BUTTON) == 0 || + fCurrentSATWindow != NULL) + return; + // we are only interested in single clicks if (message->FindInt32("clicks") == 2) return;