summaryrefslogtreecommitdiff
path: root/plugins/unityshell
diff options
authorWilliam Hua <william.hua@canonical.com>2013-12-23 12:24:18 -0500
committerWilliam Hua <william.hua@canonical.com>2013-12-23 12:24:18 -0500
commit857600619d28c70c9a77350b76bcfbc01a5272a2 (patch)
tree076db64476b1c813acd8e825b7377cf408b9f133 /plugins/unityshell
parent63f4ce233927d32175c85ddf43d193814487c121 (diff)
possibleTap wasn't getting set, fix that.
(bzr r3608.4.5)
Diffstat (limited to 'plugins/unityshell')
-rw-r--r--plugins/unityshell/src/GnomeKeyGrabber.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/unityshell/src/GnomeKeyGrabber.cpp b/plugins/unityshell/src/GnomeKeyGrabber.cpp
index b55252559..652284aa5 100644
--- a/plugins/unityshell/src/GnomeKeyGrabber.cpp
+++ b/plugins/unityshell/src/GnomeKeyGrabber.cpp
@@ -253,7 +253,7 @@ unsigned int GnomeKeyGrabber::Impl::grabAccelerator(const char* accelerator,
}
else
{
- action.setState(CompAction::StateTermKey);
+ action.setState(CompAction::StateInitKey | CompAction::StateTermKey);
action.setTerminate(boost::bind(&GnomeKeyGrabber::Impl::actionTerminated,
this, _1, _2, _3));
}