diff options
author | Linus Heckemann <git@sphalerite.org> | 2020-02-01 11:08:26 +0100 |
---|---|---|
committer | Linus Heckemann <git@sphalerite.org> | 2020-02-01 11:08:26 +0100 |
commit | 920d9c4d6562ecabf79497bc901d50522d4bc661 (patch) | |
tree | 9df8044c06484dbc15714796d055a977baa74f07 | |
parent | 57da16bbcf0584603a3e77382f775b76eb6f9bcf (diff) | |
download | tigervnc-920d9c4d6562ecabf79497bc901d50522d4bc661.tar.gz tigervnc-920d9c4d6562ecabf79497bc901d50522d4bc661.zip |
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
-rw-r--r-- | unix/xserver/hw/vnc/Input.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/Input.c b/unix/xserver/hw/vnc/Input.c index 534e435e..b342d4d6 100644 --- a/unix/xserver/hw/vnc/Input.c +++ b/unix/xserver/hw/vnc/Input.c @@ -711,3 +711,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 |