From 58121153723c500b7a8f1e023d12c8f216dfd8e3 Mon Sep 17 00:00:00 2001 From: averne Date: Sat, 2 Nov 2024 17:09:40 +0100 Subject: [PATCH] osdep/terminal: fix dummy implementation c2ed2e7 introduced the terminal_set_mouse_input function to various terminal backends, but overlooked the dummy backend. This causes linking errors when trying to build on platforms with no terminal, as vo_kitty and vo_tct are unconditionally enabled and make use of that function. --- osdep/terminal-dummy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osdep/terminal-dummy.c b/osdep/terminal-dummy.c index a2cfe741a8f9b..5a01e5b7d1f45 100644 --- a/osdep/terminal-dummy.c +++ b/osdep/terminal-dummy.c @@ -42,3 +42,7 @@ bool terminal_try_attach(void) { return false; } + +void terminal_set_mouse_input(bool enable) +{ +}