mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-17 00:32:57 +00:00
Only use evdev drivers in Xephyr #ifdef linux
This commit is contained in:
parent
59961e47df
commit
c5741438a3
1 changed files with 4 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue