[X2Go-Commits] [x2gokdrive] 03/04: x2gokdriveinit.c: Only define ddxInputThreadInit() prototype for XORG_VERSION_CURRENT less than 1.20.7. Starting with 1.20.8, the prototype definition is now available in include/os.h.

git-admin at x2go.org git-admin at x2go.org
Sun Jun 13 23:57:27 CEST 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gokdrive.

commit 9e86bfaff09b6cd50701eb40c67d16785676a267
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Jun 13 23:54:37 2021 +0200

    x2gokdriveinit.c: Only define ddxInputThreadInit() prototype for XORG_VERSION_CURRENT less than 1.20.7. Starting with 1.20.8, the prototype definition is now available in include/os.h.
---
 x2gokdriveinit.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x2gokdriveinit.c b/x2gokdriveinit.c
index f37e90b..b2400b9 100644
--- a/x2gokdriveinit.c
+++ b/x2gokdriveinit.c
@@ -61,9 +61,11 @@ void processScreenArg(const char *screen_size, char *parent_id);
 int ephyrInitFake(void);
 #endif /* XORG_VERSION_CURRENT */
 
+#if XORG_VERSION_CURRENT < 12007000
 #if INPUTTHREAD
 void ddxInputThreadInit(void);
 #endif /* INPUTTHREAD */
+#endif /* XORG_VERSION_CURRENT */
 
 int
 main(int argc, char *argv[], char *envp[])

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git


More information about the x2go-commits mailing list