1 From 920d9c4d6562ecabf79497bc901d50522d4bc661 Mon Sep 17 00:00:00 2001
2 From: Linus Heckemann <git@sphalerite.org>
3 Date: Sat, 1 Feb 2020 11:08:26 +0100
4 Subject: [PATCH] xserver: add no-op input thread init function
6 This allows Xvnc to build with xorg-server 1.20.7, which requires OS
7 layers to implement a ddxInputThreadInit function when configured with
8 --enable-input-thread (the default).
10 relevant xorg-server commit: e3f26605d85d987da434640f52646d728f1fe919
12 unix/xserver/hw/vnc/Input.c | 9 +++++++++
13 1 file changed, 9 insertions(+)
15 diff --git a/unix/xserver/hw/vnc/Input.c b/unix/xserver/hw/vnc/Input.c
16 index 534e435e..b342d4d6 100644
17 --- a/unix/xserver/hw/vnc/Input.c
18 +++ b/unix/xserver/hw/vnc/Input.c
19 @@ -711,3 +711,12 @@ static void vncKeysymKeyboardEvent(KeySym keysym, int down)
21 mieqProcessInputEvents();
25 +/** This function is called in Xserver/os/inputthread.c when starting
26 + the input thread. */
28 +ddxInputThreadInit(void)