]> source.dussan.org Git - tigervnc.git/commitdiff
xserver: add no-op input thread init function 951/head
authorLinus Heckemann <git@sphalerite.org>
Sat, 1 Feb 2020 10:08:26 +0000 (11:08 +0100)
committerLinus Heckemann <git@sphalerite.org>
Sat, 1 Feb 2020 10:08:26 +0000 (11:08 +0100)
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

index 534e435e0c4c29851370d00672c6cbe67c1d212a..b342d4d6a123a6817056f5bbca9fabfb54889836 100644 (file)
@@ -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