repo/wayland/foot-pgo/patches/fix-pgo.patch

32 lines
675 B
Diff
Raw Normal View History

2022-04-22 22:17:12 +00:00
diff --git a/pgo/pgo.c b/pgo/pgo.c
2022-04-22 22:30:07 +00:00
index 26e0c10e..92d97dbf 100644
2022-04-22 22:17:12 +00:00
--- a/pgo/pgo.c
+++ b/pgo/pgo.c
2022-04-22 22:30:07 +00:00
@@ -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,
};
}
+}
2022-04-22 22:17:12 +00:00
- return &kbd;
2022-04-22 22:30:07 +00:00
+void
+key_binding_unref_term(struct key_binding_manager *mgr, const struct terminal *term)
+{
}
2022-04-22 22:17:12 +00:00
int