diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-08 17:57:17 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-08 17:57:17 +0000 |
| commit | 79e054faff0d6d49d44ef0c1c052387eb66581d0 (patch) | |
| tree | 8bcd3684097661804bd41d4aca4df5c268c4e1fc /url-mode.c | |
| parent | Merge branch 'url-parser-recognize-percent' (diff) | |
| parent | key-bindings: refactor: use a single type for all key bindings (diff) | |
Merge branch 'refactor-key-bindings'
Diffstat (limited to 'url-mode.c')
| -rw-r--r-- | url-mode.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -80,17 +80,17 @@ urls_input(struct seat *seat, struct terminal *term, uint32_t key, { /* Key bindings */ tll_foreach(seat->kbd.bindings.url, it) { - if (it->item.bind.mods != mods) + if (it->item.mods != mods) continue; /* Match symbol */ - if (it->item.bind.sym == sym) { + if (it->item.sym == sym) { execute_binding(seat, term, it->item.action, serial); return; } /* Match raw key code */ - tll_foreach(it->item.bind.key_codes, code) { + tll_foreach(it->item.key_codes, code) { if (code->item == key) { execute_binding(seat, term, it->item.action, serial); return; |
