summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-08-10 16:13:55 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-08-10 16:13:55 -0700
commitc5741438a3a171f493e9da32a6b39f73403f6993 (patch)
tree4b3fb741ba0a45abdb416ff0935f03cbf444998d
parent59961e47df4ea621a6713a8c7d060555f8746c3a (diff)
Only use evdev drivers in Xephyr #ifdef linux
-rw-r--r--hw/kdrive/ephyr/ephyrinit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/kdrive/ephyr/ephyrinit.c b/hw/kdrive/ephyr/ephyrinit.c
index 56b4f1694..a76da03b4 100644
--- a/hw/kdrive/ephyr/ephyrinit.c
+++ b/hw/kdrive/ephyr/ephyrinit.c
@@ -57,9 +57,13 @@ InitInput (int argc, char **argv)
KdPointerInfo *pi;
KdAddKeyboardDriver(&EphyrKeyboardDriver);
+#ifdef linux
KdAddKeyboardDriver(&LinuxEvdevKeyboardDriver);
+#endif
KdAddPointerDriver(&EphyrMouseDriver);
+#ifdef linux
KdAddPointerDriver(&LinuxEvdevMouseDriver);
+#endif
if (!kdHasKbd) {
ki = KdNewKeyboard();