aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/config.h b/config.h
index 473cfdd4..927f4e5f 100644
--- a/config.h
+++ b/config.h
@@ -44,9 +44,18 @@ struct argv {
char **args;
};
-struct config_binding_pipe {
- struct argv argv;
+enum binding_aux_type {
+ BINDING_AUX_NONE,
+ BINDING_AUX_PIPE,
+};
+
+struct binding_aux {
+ enum binding_aux_type type;
bool master_copy;
+
+ union {
+ struct argv pipe;
+ };
};
enum key_binding_type {
@@ -70,7 +79,7 @@ struct config_key_binding {
} m;
};
- struct config_binding_pipe pipe;
+ struct binding_aux aux;
/* For error messages in collision handling */
const char *path;