From dcfdc8374a874aff9382735e137e9daf277a0fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 28 Oct 2009 08:56:53 +0000 Subject: [PATCH] * This should fix the calendar menu when using the click-to-focus mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33804 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/deskbar/CalendarMenuWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/deskbar/CalendarMenuWindow.cpp b/src/apps/deskbar/CalendarMenuWindow.cpp index fcdf9a14e3..a1f56366ea 100644 --- a/src/apps/deskbar/CalendarMenuWindow.cpp +++ b/src/apps/deskbar/CalendarMenuWindow.cpp @@ -174,7 +174,7 @@ CalendarMenuWindow::WindowActivated(bool active) if (active) return; - if (mouse_mode() == 0) { + if (mouse_mode() != B_FOCUS_FOLLOWS_MOUSE) { if (!active) PostMessage(B_QUIT_REQUESTED); } else {