* Operator precedence bit me, Deskbar is working again.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36899 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-05-22 12:22:44 +00:00
parent 716e4891d6
commit ebed80035f

View File

@ -106,7 +106,7 @@ TBarWindow::DispatchMessage(BMessage* message, BHandler* handler)
Activate(true);
if ((modifiers() & (B_CONTROL_KEY | B_COMMAND_KEY))
== B_CONTROL_KEY | B_COMMAND_KEY) {
== (B_CONTROL_KEY | B_COMMAND_KEY)) {
// The window key was pressed - enter dragging code
fBarView->DragRegion()->MouseDown(
fBarView->DragRegion()->DragRegion().LeftTop());