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.

xserver.patch 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. diff -up os/WaitFor.c.orig xorg/os/WaitFor.c
  2. --- os/WaitFor.c.orig 2008-01-28 10:20:35.000000000 +0100
  3. +++ os/WaitFor.c 2008-01-28 10:21:08.000000000 +0100
  4. @@ -332,13 +332,11 @@ WaitForSomething(int *pClientsReady)
  5. if (XFD_ANYSET (&devicesReadable) || XFD_ANYSET (&clientsReadable))
  6. break;
  7. -#ifdef WIN32
  8. /* Windows keyboard and mouse events are added to the input queue
  9. in Block- and WakupHandlers. There is no device to check if
  10. data is ready. So check here if new input is available */
  11. if (*checkForInput[0] != *checkForInput[1])
  12. return 0;
  13. -#endif
  14. }
  15. }
  16. diff -up mi/miinitext.c.orig xorg/mi/miinitext.c
  17. --- mi/miinitext.c.orig 2008-01-28 10:18:46.000000000 +0100
  18. +++ mi/miinitext.c 2008-01-28 10:18:58.000000000 +0100
  19. @@ -289,6 +289,7 @@ extern void BigReqExtensionInit(INITARGS
  20. #ifdef MITMISC
  21. extern void MITMiscExtensionInit(INITARGS);
  22. #endif
  23. +extern void vncExtensionInit(INITARGS);
  24. #ifdef XIDLE
  25. extern void XIdleExtensionInit(INITARGS);
  26. #endif
  27. @@ -560,6 +561,7 @@ InitExtensions(argc, argv)
  28. #ifdef MITMISC
  29. if (!noMITMiscExtension) MITMiscExtensionInit();
  30. #endif
  31. + vncExtensionInit();
  32. #ifdef XIDLE
  33. if (!noXIdleExtension) XIdleExtensionInit();
  34. #endif
  35. diff -up hw/Makefile.am.orig xorg/hw/Makefile.am
  36. --- hw/Makefile.am.orig 2008-01-28 10:18:46.000000000 +0100
  37. +++ hw/Makefile.am 2008-01-28 10:18:58.000000000 +0100
  38. @@ -43,7 +43,8 @@ SUBDIRS = \
  39. $(DMX_SUBDIRS) \
  40. $(KDRIVE_SUBDIRS) \
  41. $(XQUARTZ_SUBDIRS) \
  42. - $(XPRINT_SUBDIRS)
  43. + $(XPRINT_SUBDIRS) \
  44. + vnc
  45. DIST_SUBDIRS = dmx xfree86 vfb xnest xwin xquartz kdrive xgl xprint
  46. diff -up configure.ac.orig xorg/configure.ac
  47. --- configure.ac.orig 2008-01-28 10:18:45.000000000 +0100
  48. +++ configure.ac 2008-01-28 10:18:58.000000000 +0100
  49. @@ -29,7 +29,6 @@ AC_PREREQ(2.57)
  50. AC_INIT([xorg-server], 1.4.99.2, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server)
  51. AC_CONFIG_SRCDIR([Makefile.am])
  52. AM_INIT_AUTOMAKE([dist-bzip2 foreign])
  53. -AM_MAINTAINER_MODE
  54. dnl this gets generated by autoheader, and thus contains all the defines. we
  55. dnl don't ever actually use it, internally.
  56. @@ -2173,6 +2172,7 @@ hw/dmx/input/Makefile
  57. hw/dmx/glxProxy/Makefile
  58. hw/dmx/Makefile
  59. hw/vfb/Makefile
  60. +hw/vnc/Makefile
  61. hw/xgl/Makefile
  62. hw/xgl/egl/Makefile
  63. hw/xgl/egl/module/Makefile