008-root-window.patch 845 B

1234567891011121314151617181920
  1. --- a/src/VBox/Additions/x11/vboxvideo/vboxvideo.h 2015-03-04 00:38:45.381480285 +0100
  2. +++ b/src/VBox/Additions/x11/vboxvideo/vboxvideo.h 2015-03-04 00:40:57.536942966 +0100
  3. @@ -130,15 +130,7 @@
  4. #define VBOX_MAX_DRAWABLES 256 /* At random. */
  5. #define VBOXPTR(p) ((VBOXPtr)((p)->driverPrivate))
  6. -
  7. -/** Helper to work round different ways of getting the root window in different
  8. - * server versions. */
  9. -#if defined(XORG_VERSION_CURRENT) && XORG_VERSION_CURRENT < 70000000 \
  10. - && XORG_VERSION_CURRENT >= 10900000
  11. -# define ROOT_WINDOW(pScrn) screenInfo.screens[(pScrn)->scrnIndex]->root
  12. -#else
  13. -# define ROOT_WINDOW(pScrn) WindowTable[(pScrn)->scrnIndex]
  14. -#endif
  15. +#define ROOT_WINDOW(pScrn) screenInfo.screens[(pScrn)->scrnIndex]->root
  16. /** Structure containing all virtual monitor-specific information. */
  17. struct VBoxScreen