* Found out what the overridden DispatchMessage() is supposed to do.
* Disabled activating the window on mouse click when auto-raise is active, as that doesn't work well in combination. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21958 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -92,8 +92,10 @@ TBarWindow::TBarWindow()
|
||||
void
|
||||
TBarWindow::DispatchMessage(BMessage *message, BHandler *handler)
|
||||
{
|
||||
// ToDo: check if the two following lines are doing anything...
|
||||
if (message->what == B_MOUSE_DOWN)
|
||||
// Activate the window when you click on it (ie. on the tray area,
|
||||
// the menu part will do this automatically)
|
||||
if (message->what == B_MOUSE_DOWN
|
||||
&& !((TBarApp *)be_app)->Settings()->autoRaise)
|
||||
Activate(true);
|
||||
|
||||
BWindow::DispatchMessage(message, handler);
|
||||
|
||||
Reference in New Issue
Block a user