diff options
Diffstat (limited to 'hw/kdrive/ephyr/ephyrinit.c')
-rw-r--r-- | hw/kdrive/ephyr/ephyrinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kdrive/ephyr/ephyrinit.c b/hw/kdrive/ephyr/ephyrinit.c index 021abd65f..a77b87e5e 100644 --- a/hw/kdrive/ephyr/ephyrinit.c +++ b/hw/kdrive/ephyr/ephyrinit.c @@ -58,14 +58,14 @@ InitInput (int argc, char **argv) if (!ki) FatalError("Couldn't create Xephyr keyboard\n"); ki->driver = &EphyrKeyboardDriver; - ki->name = KdSaveString("Xephyr virtual keyboard"); + KdAddKeyboardDriver(&EphyrKeyboardDriver); KdAddKeyboard(ki); pi = KdNewPointer(); if (!pi) FatalError("Couldn't create Xephyr pointer\n"); pi->driver = &EphyrMouseDriver; - pi->name = KdSaveString("Xephyr virtual mouse"); + KdAddPointerDriver(&EphyrMouseDriver); KdAddPointer(pi); KdInitInput(); |