mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
pgo: add missing stubs for key-binding functions
* key_binding_new_for_term() * key_binding_unref_term()
This commit is contained in:
parent
1383def2a0
commit
8ceb6e45a4
1 changed files with 11 additions and 1 deletions
12
pgo/pgo.c
12
pgo/pgo.c
|
|
@ -178,6 +178,13 @@ struct key_binding_set *
|
|||
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;
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue