diff options
author | Adam Jackson <ajax@redhat.com> | 2015-06-02 13:58:30 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-07-08 16:41:28 -0400 |
commit | 315661a425018a546f7bcc18ad3e5f4578473ca6 (patch) | |
tree | 384db130793923a48b353be45b8589bd8ee7ca84 /fb | |
parent | 1594fb912996e9776d9e36383bd1d9f5dd2877eb (diff) |
fb: Make rootless-agnostic
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'fb')
-rw-r--r-- | fb/fb.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -472,13 +472,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) |