* 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
This commit is contained in:
Axel Dörfler
2009-10-28 08:56:53 +00:00
parent d3b113282a
commit dcfdc8374a
+1 -1
View File
@@ -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 {