void-packages/srcpkgs/virtualbox-ose/patches/008-root-window.patch

16 lines
655 B
Diff

--- src/VBox/Additions/x11/vboxvideo/vboxvideo.h 2015-02-17 02:16:03.290231117 +0100
+++ src/VBox/Additions/x11/vboxvideo/vboxvideo.h 2015-02-17 02:15:45.074322113 +0100
@@ -133,12 +133,7 @@
/** Helper to work round different ways of getting the root window in different
* server versions. */
-#if defined(XORG_VERSION_CURRENT) && XORG_VERSION_CURRENT < 700000000 \
- && XORG_VERSION_CURRENT >= 100900000
# define ROOT_WINDOW(pScrn) screenInfo.screens[(pScrn)->scrnIndex]->root
-#else
-# define ROOT_WINDOW(pScrn) WindowTable[(pScrn)->scrnIndex]
-#endif
/** Structure containing all virtual monitor-specific information. */
struct VBoxScreen