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.
This commit is contained in:
Florian Müllner 2015-02-23 13:02:08 +01:00
parent d8b43865a2
commit 4253df6463

View File

@ -529,6 +529,7 @@ function activateWindow(window, time, workspaceNum) {
} }
overview.hide(); overview.hide();
panel.closeCalendar();
} }
// TODO - replace this timeout with some system to guess when the user might // TODO - replace this timeout with some system to guess when the user might