diff options
| author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2014-06-19 18:40:55 +0000 |
|---|---|---|
| committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-06-19 18:40:55 +0000 |
| commit | e90a2d21cc263b0fa3410015bffe6cc865a67fce (patch) | |
| tree | 6eebf171788802710b87fee19adb1edb68d5fe53 /unity-shared | |
| parent | e063d3f09aae19fc344f3e3d46553f2bde28e8a8 (diff) | |
| parent | d8cd45c1b37a786ee647b8edc88f790d1a94998f (diff) | |
PluginAdapter: pass the state to compiz plugins activations
Fixes Scale triggering on DnD Fixes: 1328615 (bzr r3825)
Diffstat (limited to 'unity-shared')
| -rw-r--r-- | unity-shared/PluginAdapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unity-shared/PluginAdapter.cpp b/unity-shared/PluginAdapter.cpp index f1dc9c8e3..4ba844d5a 100644 --- a/unity-shared/PluginAdapter.cpp +++ b/unity-shared/PluginAdapter.cpp @@ -268,7 +268,7 @@ void MultiActionList::Initiate(std::string const& name, CompOption::Vector const /* Initiate the selected action with the arguments */ if (CompAction::CallBack const& initiate_cb = primary_action_->initiate()) - initiate_cb(action, 0, argument); + initiate_cb(action, state, argument); } void MultiActionList::InitiateAll(CompOption::Vector const& extra_args, int state) const |
