aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-17 07:34:51 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-17 07:34:51 +0000
commitac42ce43032fc2bbabc2c1b132942d3933fe9f49 (patch)
tree3013a8a2d262d86a15c54b53ff48d6de9fb0499f /wayland.h
parentwayland: don't assume data-device globals are added before seats (diff)
parentMerge branch 'master' into pipe-grid-to-external-tool (diff)
Merge branch 'pipe-grid-to-external-tool'
Closes https://codeberg.org/dnkl/foot/issues/29
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/wayland.h b/wayland.h
index 224853a6..dbf63c1b 100644
--- a/wayland.h
+++ b/wayland.h
@@ -39,18 +39,21 @@ enum bind_action_normal {
BIND_ACTION_MINIMIZE,
BIND_ACTION_MAXIMIZE,
BIND_ACTION_FULLSCREEN,
+ BIND_ACTION_PIPE_SCROLLBACK,
+ BIND_ACTION_PIPE_VIEW,
BIND_ACTION_COUNT,
};
struct key_binding_normal {
struct key_binding bind;
enum bind_action_normal action;
+ const char *pipe_cmd;
};
struct mouse_binding {
+ enum bind_action_normal action;
uint32_t button;
int count;
- enum bind_action_normal action;
};
enum bind_action_search {