From 6f61f09f4d9c66a194f673c18a2d2fecd68e52b3 Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Wed, 8 Dec 2010 22:25:44 +0000 Subject: [PATCH] Move S&T group switching shortcut to cmd + option + arrow up/down. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39773 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/decorators/SATDecorator/StackAndTile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/add-ons/decorators/SATDecorator/StackAndTile.cpp b/src/add-ons/decorators/SATDecorator/StackAndTile.cpp index 8c35123435..d1d72288dd 100644 --- a/src/add-ons/decorators/SATDecorator/StackAndTile.cpp +++ b/src/add-ons/decorators/SATDecorator/StackAndTile.cpp @@ -126,7 +126,8 @@ StackAndTile::KeyPressed(uint32 what, int32 key, int32 modifiers) _StartSAT(); } - if (!SATKeyPressed() || what != B_KEY_DOWN) + if (!SATKeyPressed() || (modifiers & B_COMMAND_KEY) == 0 + || what != B_KEY_DOWN) return false; const int kArrowKeyUp = 87;