summaryrefslogtreecommitdiff
diff options
authorAndrea Azzarone <azzaronea@gmail.com>2014-05-27 10:56:14 +0200
committerAndrea Azzarone <azzaronea@gmail.com>2014-05-27 10:56:14 +0200
commit6fab4c8f1d14f7a114db5dac21d15f6e39342493 (patch)
tree1347ddf314f5ddca54ad99687957c77fbbbc13a2
parent2db386fb56f8c7aab19f94218ad2a7b463cd0b11 (diff)
Revert unwanted revision.
(bzr r3806.5.5)
-rw-r--r--plugins/unityshell/src/unityshell.cpp8
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()