aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-10-27 17:44:58 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-10-27 17:44:58 +0000
commit8c534d0520fd2fa2a505a86c8f2ec6e290e079f7 (patch)
tree03685280f128d0a2332fe2f013bb4a7ecfd88f10 /input.c
parentwayland: change all wayland callbacks to take a wayland pointer (diff)
input: input_repeat() takes a 'struct wayland' pointer
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input.c b/input.c
index 56da84d9..b91fea2f 100644
--- a/input.c
+++ b/input.c
@@ -376,9 +376,9 @@ const struct wl_keyboard_listener keyboard_listener = {
};
void
-input_repeat(struct terminal *term, uint32_t key)
+input_repeat(struct wayland *wayl, uint32_t key)
{
- keyboard_key(&term->wl, NULL, 0, 0, key, XKB_KEY_DOWN);
+ keyboard_key(wayl, NULL, 0, 0, key, XKB_KEY_DOWN);
}
static void