summaryrefslogtreecommitdiff
diff options
-rw-r--r--plugins/unityshell/src/unityshell.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp
index 283275e6b..e5a9f2fce 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -3826,8 +3826,12 @@ void UnityScreen::OnScreenLocked()
screen->removeAction(&action);
// We notify that super/alt have been released, to avoid to leave unity in inconsistent state
- showLauncherKeyTerminate(&optionGetShowLauncher(), CompAction::StateTermKey, getOptions());
- showMenuBarTerminate(&optionGetShowMenuBar(), CompAction::StateTermKey, getOptions());
+ CompOption::Vector options(8);
+ options[7].setName("time", CompOption::TypeInt);
+ options[7].value().set((int) screen->getCurrentTime());
+
+ showLauncherKeyTerminate(&optionGetShowLauncher(), CompAction::StateTermKey, options);
+ showMenuBarTerminate(&optionGetShowMenuBar(), CompAction::StateTermKey, options);
}
void UnityScreen::OnScreenUnlocked()