diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-06-10 19:21:29 +0200 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2014-06-10 19:21:29 +0200 |
| commit | d8cd45c1b37a786ee647b8edc88f790d1a94998f (patch) | |
| tree | 36bcf97106e253bcf39dc3897697b03af095c302 /unity-shared | |
| parent | f767974b2d9e0c72aebaedc82e456f931a5eab7c (diff) | |
PluginAdapter: pass the state to compiz plugins activations
Fixes Scale triggering on DnD Fixes LP: #1328615 (bzr r3814.1.1)
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 0fffe0074..97bd45a0b 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 |
