[PATCH 3/8] fb: Make rootless-agnostic

Adam Jackson ajax at redhat.com
Tue Aug 20 12:33:34 PDT 2013


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 fb/fb.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/fb/fb.h b/fb/fb.h
index b869d12..4d18d39 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -642,13 +642,8 @@ typedef struct {
 #define fbGetWindowPixmap(pWin)	((PixmapPtr)\
 				 dixLookupPrivate(&((WindowPtr)(pWin))->devPrivates, fbGetWinPrivateKey(pWin)))
 
-#ifdef ROOTLESS
 #define __fbPixDrawableX(pPix)	((pPix)->drawable.x)
 #define __fbPixDrawableY(pPix)	((pPix)->drawable.y)
-#else
-#define __fbPixDrawableX(pPix)	0
-#define __fbPixDrawableY(pPix)	0
-#endif
 
 #ifdef COMPOSITE
 #define __fbPixOffXWin(pPix)	(__fbPixDrawableX(pPix) - (pPix)->screen_x)
-- 
1.8.3.1



More information about the xorg-devel mailing list