aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-25 15:57:39 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-26 07:13:58 +0000
commit51f7599e9127069750bd540f05f160ea1bf50f1c (patch)
tree161b46409c4052d3f6c802d222ae73626d4d9ff2 /input.c
parentchangelog: fixed mod+shift+tab regression (diff)
input: keymap_lookup: remove unused argument ‘seat’
Diffstat (limited to 'input.c')
-rw-r--r--input.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/input.c b/input.c
index 320b1679..5e7d3420 100644
--- a/input.c
+++ b/input.c
@@ -852,8 +852,7 @@ keymap_data_for_sym(xkb_keysym_t sym, size_t *count)
}
static const struct key_data *
-keymap_lookup(struct seat *seat, struct terminal *term,
- xkb_keysym_t sym, enum modifier mods)
+keymap_lookup(struct terminal *term, xkb_keysym_t sym, enum modifier mods)
{
size_t count;
const struct key_data *info = keymap_data_for_sym(sym, &count);
@@ -1036,7 +1035,7 @@ key_press_release(struct seat *seat, struct terminal *term, uint32_t serial,
static const struct key_data esc = {.seq = "\033[27;1;27~"};
keymap = &esc;
} else
- keymap = keymap_lookup(seat, term, sym, keymap_mods);
+ keymap = keymap_lookup(term, sym, keymap_mods);
if (keymap != NULL) {
term_to_slave(term, keymap->seq, strlen(keymap->seq));