diff options
author | Owen Taylor <otaylor@src.gnome.org> | 1997-12-18 02:17:14 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1997-12-18 02:17:14 +0000 |
commit | d5d01a5af9aaa11762d7ba86760796df00af3786 (patch) | |
tree | c12bb7c7980b3177456cab8987755a976297b205 /gdk/gxid_lib.c | |
parent | 65e63db01e93820093c2eb5169d5f8c0be3fe4e5 (diff) | |
download | gtk+-d5d01a5af9aaa11762d7ba86760796df00af3786.tar.gz |
It's all in the changelog. Well, almost all.
-owt
Diffstat (limited to 'gdk/gxid_lib.c')
-rw-r--r-- | gdk/gxid_lib.c | 13 |
1 files changed, 11 insertions, 2 deletions
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 <netinet/in.h> #include <netdb.h> -#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 */ |