From d5d01a5af9aaa11762d7ba86760796df00af3786 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Thu, 18 Dec 1997 02:17:14 +0000 Subject: It's all in the changelog. Well, almost all. -owt --- gdk/gxid_lib.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'gdk/gxid_lib.c') diff --git a/gdk/gxid_lib.c b/gdk/gxid_lib.c index 357b764513..64c1e53b1f 100644 --- a/gdk/gxid_lib.c +++ b/gdk/gxid_lib.c @@ -5,6 +5,7 @@ */ #include "../config.h" +#include "gxid_lib.h" #ifdef XINPUT_GXI @@ -16,8 +17,6 @@ #include #include -#include "gxid_lib.h" - /* handles mechanics of communicating with a client */ static int gxid_send_message(char *host, int port, GxidMessage *msg) @@ -112,5 +111,15 @@ gxid_release_device(char *host, int port, GxidU32 device, GxidU32 window) return gxid_send_message(host,port,(GxidMessage *)&msg); } +#else /* !XINPUT_GXI */ + +/* Some compilers don't like empty source files */ +int +gxid_claim_device(char *host, int port, GxidU32 device, GxidU32 window, + int exclusive) +{ + return 0; +} + #endif /* XINPUT_GXI */ -- cgit v1.2.1