From 32bcaf865bd66ae0f20adbf59fe6f4a428c8b32a 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 a2cfe741a8..5a01e5b7d1 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) +{ +}