diff options
| author | Andrea Azzarone <azzaronea@gmail.com> | 2014-05-27 10:56:14 +0200 |
|---|---|---|
| committer | Andrea Azzarone <azzaronea@gmail.com> | 2014-05-27 10:56:14 +0200 |
| commit | 6fab4c8f1d14f7a114db5dac21d15f6e39342493 (patch) | |
| tree | 1347ddf314f5ddca54ad99687957c77fbbbc13a2 | |
| parent | 2db386fb56f8c7aab19f94218ad2a7b463cd0b11 (diff) | |
Revert unwanted revision.
(bzr r3806.5.5)
| -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() |
