aboutsummaryrefslogtreecommitdiff
path: root/url-mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'url-mode.c')
-rw-r--r--url-mode.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/url-mode.c b/url-mode.c
index 83dbfa70..986860af 100644
--- a/url-mode.c
+++ b/url-mode.c
@@ -182,19 +182,6 @@ urls_input(struct seat *seat, struct terminal *term,
* Key bindings
*/
- /* Match translated symbol */
- tll_foreach(bindings->url, it) {
- const struct key_binding *bind = &it->item;
-
- if (bind->k.sym == sym &&
- bind->mods == (mods & ~consumed))
- {
- execute_binding(seat, term, bind, serial);
- return;
- }
-
- }
-
/* Match untranslated symbols */
tll_foreach(bindings->url, it) {
const struct key_binding *bind = &it->item;
@@ -209,6 +196,19 @@ urls_input(struct seat *seat, struct terminal *term,
}
}
+ /* Match translated symbol */
+ tll_foreach(bindings->url, it) {
+ const struct key_binding *bind = &it->item;
+
+ if (bind->k.sym == sym &&
+ bind->mods == (mods & ~consumed))
+ {
+ execute_binding(seat, term, bind, serial);
+ return;
+ }
+
+ }
+
/* Match raw key code */
tll_foreach(bindings->url, it) {
const struct key_binding *bind = &it->item;