mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.2 KiB

  1. RCS file: /cvs/xc/programs/Xserver/hw/xfree86/common/xf86Config.c,v
  2. retrieving revision 3.272
  3. retrieving revision 3.273
  4. diff -u -r3.272 -r3.273
  5. --- xc/programs/Xserver/hw/xfree86/common/xf86Config.c 24 Aug 2003 20:52:30 -0000 3.272
  6. +++ xc/programs/Xserver/hw/xfree86/common/xf86Config.c 27 Aug 2003 02:50:25 -0000 3.273
  7. @@ -1,4 +1,4 @@
  8. -/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86Config.c,v 3.272 2003/08/24 20:52:30 dawes Exp $ */
  9. +/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86Config.c,v 3.273 2003/08/27 02:50:25 dawes Exp $ */
  10. /*
  11. @@ -1451,7 +1451,7 @@
  12. indp[count - 1].extraOptions = xf86addNewOption(NULL, "CorePointer", NULL);
  13. indp[count].identifier = NULL;
  14. servlayoutp->inputs = indp;
  15. - } else {
  16. + } else if (!havePointer) {
  17. /* This should never happen. */
  18. xf86Msg(X_ERROR, "Cannot locate a core pointer device.\n");
  19. return FALSE;
  20. @@ -1473,7 +1473,7 @@
  21. indp[count - 1].extraOptions = xf86addNewOption(NULL, "CoreKeyboard", NULL);
  22. indp[count].identifier = NULL;
  23. servlayoutp->inputs = indp;
  24. - } else {
  25. + } else if (!haveKeyboard) {
  26. /* This should never happen. */
  27. xf86Msg(X_ERROR, "Cannot locate a core keyboard device\n");
  28. return FALSE;