aboutsummaryrefslogtreecommitdiff
path: root/url-mode.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-08 17:57:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-08 17:57:17 +0000
commit79e054faff0d6d49d44ef0c1c052387eb66581d0 (patch)
tree8bcd3684097661804bd41d4aca4df5c268c4e1fc /url-mode.c
parentMerge branch 'url-parser-recognize-percent' (diff)
parentkey-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/url-mode.c b/url-mode.c
index f6388905..245f6273 100644
--- a/url-mode.c
+++ b/url-mode.c
@@ -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;