From de649b6137ec1c5f7f684ef44e48d9a881a2744f Mon Sep 17 00:00:00 2001 From: K4 Date: Tue, 25 Aug 2026 15:03:58 +0300 Subject: term: wrap url related fields into a struct --- input.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'input.c') diff --git a/input.c b/input.c index e11b86db..9d768876 100644 --- a/input.c +++ b/input.c @@ -358,8 +358,8 @@ execute_binding(struct seat *seat, struct terminal *term, action == BIND_ACTION_SHOW_URLS_LAUNCH ? URL_ACTION_LAUNCH : URL_ACTION_PERSISTENT; - urls_collect(term, url_action, &term->conf->url.preg, true, &term->urls); - urls_assign_key_combos(term->conf, &term->urls); + urls_collect(term, url_action, &term->conf->url.preg, true, &term->url.list); + urls_assign_key_combos(term->conf, &term->url.list); urls_render(term, &term->conf->url.launch); return true; } @@ -480,8 +480,8 @@ execute_binding(struct seat *seat, struct terminal *term, return true; } - urls_collect(term, url_action, ®ex->preg, false, &term->urls); - urls_assign_key_combos(term->conf, &term->urls); + urls_collect(term, url_action, ®ex->preg, false, &term->url.list); + urls_assign_key_combos(term->conf, &term->url.list); urls_render(term, ®ex->launch); return true; } -- cgit v1.3