Author: axeld Date: 2009-10-28 09:56:53 +0100 (Wed, 28 Oct 2009) New Revision: 33804 Changeset: http://dev.haiku-os.org/changeset/33804/haiku Modified: haiku/trunk/src/apps/deskbar/CalendarMenuWindow.cpp Log: * This should fix the calendar menu when using the click-to-focus mode. Modified: haiku/trunk/src/apps/deskbar/CalendarMenuWindow.cpp =================================================================== --- haiku/trunk/src/apps/deskbar/CalendarMenuWindow.cpp 2009-10-28 03:04:42 UTC (rev 33803) +++ haiku/trunk/src/apps/deskbar/CalendarMenuWindow.cpp 2009-10-28 08:56:53 UTC (rev 33804) @@ -174,7 +174,7 @@ if (active) return; - if (mouse_mode() == 0) { + if (mouse_mode() != B_FOCUS_FOLLOWS_MOUSE) { if (!active) PostMessage(B_QUIT_REQUESTED); } else {