From 59eae96d68114e5c957d8cc222df5f7c42b46603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 22 May 2010 19:17:42 +0000 Subject: [PATCH] * Forgot to check against the other modifiers; the Vulcan Death Grip should now work again, thanks humdinger! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36902 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/deskbar/BarWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/deskbar/BarWindow.cpp b/src/apps/deskbar/BarWindow.cpp index e12de1e8da..5784db8282 100644 --- a/src/apps/deskbar/BarWindow.cpp +++ b/src/apps/deskbar/BarWindow.cpp @@ -105,8 +105,8 @@ TBarWindow::DispatchMessage(BMessage* message, BHandler* handler) if (!((TBarApp*)be_app)->Settings()->autoRaise) Activate(true); - if ((modifiers() & (B_CONTROL_KEY | B_COMMAND_KEY)) - == (B_CONTROL_KEY | B_COMMAND_KEY)) { + if ((modifiers() & (B_CONTROL_KEY | B_COMMAND_KEY | B_OPTION_KEY + | B_SHIFT_KEY)) == (B_CONTROL_KEY | B_COMMAND_KEY)) { // The window key was pressed - enter dragging code fBarView->DragRegion()->MouseDown( fBarView->DragRegion()->DragRegion().LeftTop());