]> source.dussan.org Git - tigervnc.git/commitdiff
Move ddxInputThreadInit() to xvnc.c
authorPierre Ossman <ossman@cendio.se>
Sun, 11 Jul 2021 17:20:48 +0000 (19:20 +0200)
committerPierre Ossman <ossman@cendio.se>
Tue, 13 Jul 2021 12:26:04 +0000 (14:26 +0200)
This should only be in the ddx parts of an X server, and Input.c is used
by libvnc.so as well and can cause conflicts there.

unix/xserver/hw/vnc/Input.c
unix/xserver/hw/vnc/xvnc.c

index 3fe6d31c7bb4d08567e01a672a08d9ad21ebd600..3d36e2594494ccf6268bc05511cf877a5da916ff 100644 (file)
@@ -642,12 +642,3 @@ 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
index 115e9a2d0573470ea289945af71f2521bc43f800..c4e3a498bab6e4997e3f805d4448b2deeb86e021 100644 (file)
@@ -274,6 +274,15 @@ void ddxBeforeReset(void)
 }
 #endif
 
+#if INPUTTHREAD
+/** This function is called in Xserver/os/inputthread.c when starting
+    the input thread. */
+void
+ddxInputThreadInit(void)
+{
+}
+#endif
+
 void ddxUseMsg(void)
 {
     vncPrintBanner();