aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-30 16:53:51 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-30 16:53:51 +0000
commit7767041c2cb4f7739881cb8433a8ce7f9ef6d08c (patch)
tree13f811fc65504a974491068e5a60c48247cedccd /wayland.h
parentchangelog: use <section>.<option> syntax (diff)
config: tokenize key bindings' pipe command when loading the configuration
This allows us to detect syntax errors early on, and is also more efficient since we don't have to re-tokenize the command line every time the binding is executed.
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wayland.h b/wayland.h
index 3c39fe5d..3b815b6a 100644
--- a/wayland.h
+++ b/wayland.h
@@ -47,7 +47,7 @@ enum bind_action_normal {
struct key_binding_normal {
struct key_binding bind;
enum bind_action_normal action;
- const char *pipe_cmd;
+ char **pipe_argv;
};
struct mouse_binding {