summaryrefslogtreecommitdiff
path: root/src/option.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/option.cpp')
-rw-r--r--src/option.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/option.cpp b/src/option.cpp
index c976b70..e7b46ef 100644
--- a/src/option.cpp
+++ b/src/option.cpp
@@ -234,10 +234,11 @@ compSetActionOption (CompOption *option,
CompAction *action = &option->value.action;
CompOptionValue v = *value;
- /* initiate, terminate and state should never be changed */
+ /* initiate, terminate, priv and state should never be changed */
v.action.initiate = action->initiate;
v.action.terminate = action->terminate;
v.action.state = action->state;
+ v.action.priv = action->priv;
if (action->type == v.action.type)
{