aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-04-17 14:11:39 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-04-17 14:11:39 +0000
commit7a5e5a80b9e86cfdd79f25fc9df6f7f390c5430e (patch)
tree4d7530907fc8e66c657009cf2f9862b0b9585d60
parentchangelog: key binding overrides having no effect with footclient (diff)
key-binding: NOINLINE a couple of functions, for a minor code size reduction
-rw-r--r--key-binding.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/key-binding.c b/key-binding.c
index 81a9f6a2..a9e23d44 100644
--- a/key-binding.c
+++ b/key-binding.c
@@ -125,7 +125,7 @@ key_binding_new_for_term(struct key_binding_manager *mgr,
tll_length(mgr->binding_sets));
}
-struct key_binding_set *
+struct key_binding_set * NOINLINE
key_binding_for(struct key_binding_manager *mgr, const struct terminal *term,
const struct seat *seat)
{
@@ -358,7 +358,7 @@ maybe_repair_key_combo(const struct seat *seat,
return sym;
}
-static void
+static void NOINLINE
convert_key_binding(struct key_set *set,
const struct config_key_binding *conf_binding,
key_binding_list_t *bindings)
@@ -443,7 +443,7 @@ convert_mouse_bindings(struct key_set *set)
}
}
-static void
+static void NOINLINE
load_keymap(struct key_set *set)
{
LOG_DBG("load keymap: set=%p, seat=%p, conf=%p",
@@ -488,7 +488,7 @@ key_bindings_destroy(key_binding_list_t *bindings)
}
}
-static void
+static void NOINLINE
unload_keymap(struct key_set *set)
{
key_bindings_destroy(&set->public.key);