diff options
| -rw-r--r-- | plugins/unityshell/src/unityshell.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp index e5a9f2fce..283275e6b 100644 --- a/plugins/unityshell/src/unityshell.cpp +++ b/plugins/unityshell/src/unityshell.cpp @@ -3826,12 +3826,8 @@ void UnityScreen::OnScreenLocked() screen->removeAction(&action); // We notify that super/alt have been released, to avoid to leave unity in inconsistent state - 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); + showLauncherKeyTerminate(&optionGetShowLauncher(), CompAction::StateTermKey, getOptions()); + showMenuBarTerminate(&optionGetShowMenuBar(), CompAction::StateTermKey, getOptions()); } void UnityScreen::OnScreenUnlocked() |
