diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-04-22 22:44:46 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-04-22 22:44:46 +0000 |
| commit | 8ceb6e45a49ea414bf779adf1ba484c1dd5b5e7b (patch) | |
| tree | f6095047d03442d54d9a7828e2f0663d9247e496 | |
| parent | changelog: convert all issue links to reference links in the 1.12.0 release (diff) | |
pgo: add missing stubs for key-binding functions
* key_binding_new_for_term()
* key_binding_unref_term()
| -rw-r--r-- | pgo/pgo.c | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -179,6 +179,13 @@ key_binding_for( struct key_binding_manager *mgr, const struct terminal *term, const struct seat *seat) { + return &kbd; +} + +void +key_binding_new_for_term( + struct key_binding_manager *mgr, const struct terminal *term) +{ if (!kbd_initialized) { kbd_initialized = true; kbd = (struct key_binding_set){ @@ -189,8 +196,11 @@ key_binding_for( .selection_overrides = 0, }; } +} - return &kbd; +void +key_binding_unref_term(struct key_binding_manager *mgr, const struct terminal *term) +{ } int |
