summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2004-12-15 04:53:05 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2004-12-15 04:53:05 +0000
commit6ecdc6526994aeb8cb11d811f0f7b2e598055aa2 (patch)
tree09266cb9791e9f01effd40b30d24eb196def4072
parent0b94f15d799932eec955cef0fbecf06dae06d923 (diff)
xc/config/cf/X11.tmpl
xc/config/cf/cygwin.cf xc/config/cf/darwin.cf xc/programs/Xserver/dix/Imakefile //bugs.freedesktop.org/show_bug.cgi?id=1816) attachment #1300 (https://bugs.freedesktop.org/attachment.cgi?id=1300): Add BuildRootless Imake variable and ROOTLESS define. Patch by Torrey T. Lyons <torrey@freedesktop.org>
-rw-r--r--fb/fb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fb/fb.h b/fb/fb.h
index 799338284..ed73aac8e 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -22,7 +22,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $XdotOrg: xc/programs/Xserver/fb/fb.h,v 1.5 2004/07/30 20:30:51 ajax Exp $ */
+/* $XdotOrg: xc/programs/Xserver/fb/fb.h,v 1.6 2004/08/11 21:14:17 kem Exp $ */
#ifndef _FB_H_
#define _FB_H_
@@ -647,7 +647,7 @@ typedef struct {
((WindowPtr) (pWin))->devPrivates[fbGetWinPrivateIndex()].ptr)
#endif
-#if defined(__DARWIN__)||defined(__CYGWIN__)
+#ifdef ROOTLESS
#define __fbPixOriginX(pPix) ((pPix)->drawable.x)
#define __fbPixOriginY(pPix) ((pPix)->drawable.y)
#else