summaryrefslogtreecommitdiffstats
path: root/x11vnc/uinput.c
diff options
context:
space:
mode:
authorrunge <runge>2006-09-10 21:06:44 +0000
committerrunge <runge>2006-09-10 21:06:44 +0000
commite4c85d48e68d5f135dd3a478aff8adb7697a1349 (patch)
tree780fe6f1ca17c0b7915a9b0b63742737bfdfce92 /x11vnc/uinput.c
parent1cb25ce3a50796d7a252dcd3df956017afe72264 (diff)
downloadlibtdevnc-e4c85d48e68d5f135dd3a478aff8adb7697a1349.tar.gz
libtdevnc-e4c85d48e68d5f135dd3a478aff8adb7697a1349.zip
x11vnc: REQ_ARGS, EV_SYN/SYN_REPORT check. restore -cursor most under -display WAIT
Diffstat (limited to 'x11vnc/uinput.c')
-rw-r--r--x11vnc/uinput.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11vnc/uinput.c b/x11vnc/uinput.c
index 758419a..c25f212 100644
--- a/x11vnc/uinput.c
+++ b/x11vnc/uinput.c
@@ -21,8 +21,14 @@
#include <sys/ioctl.h>
#include <linux/input.h>
#include <linux/uinput.h>
+
+#if !defined(EV_SYN) || !defined(SYN_REPORT)
+#undef UINPUT_OK
+#endif
+
#endif
+
int check_uinput(void);
int initialize_uinput(void);
int set_uinput_accel(char *str);