From 6e5a837c217c8ef37e44d1cf6db79e4e4b77c4de Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Sat, 1 Feb 2020 11:08:26 +0100 Subject: [PATCH] xserver: add no-op input thread init function This allows Xvnc to build with xorg-server 1.20.7, which requires OS layers to implement a ddxInputThreadInit function when configured with --enable-input-thread (the default). relevant xorg-server commit: e3f26605d85d987da434640f52646d728f1fe919 --- unix/xserver/hw/vnc/Input.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/unix/xserver/hw/vnc/Input.c b/unix/xserver/hw/vnc/Input.c index 8e47d74..2519ad3 100644 --- a/unix/xserver/hw/vnc/Input.c +++ b/unix/xserver/hw/vnc/Input.c @@ -687,3 +687,12 @@ static void vncKeysymKeyboardEvent(KeySym keysym, int down) */ mieqProcessInputEvents(); } + +#if INPUTTHREAD +/** This function is called in Xserver/os/inputthread.c when starting + the input thread. */ +void +ddxInputThreadInit(void) +{ +} +#endif