From 4253df646390c18845f2cc31d4d7a7be60fd111a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 23 Feb 2015 13:02:08 +0100 Subject: [PATCH] main: Close calendar on activateWindow() If activateWindow() is called as the result of activating an item in the Time & Date drop-down (most likely a notification), it should behave as other items and close the calendar. --- js/ui/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/main.js b/js/ui/main.js index 2a80a9056..8844dc6a6 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -529,6 +529,7 @@ function activateWindow(window, time, workspaceNum) { } overview.hide(); + panel.closeCalendar(); } // TODO - replace this timeout with some system to guess when the user might