* 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
This commit is contained in:
Axel Dörfler
2010-05-22 19:17:42 +00:00
parent b12f4323d2
commit 59eae96d68
+2 -2
View File
@@ -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());